function setPng24(obj) {
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bpng24\b/i,'');
	obj.style.filter =
	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	obj.src=''; 
	return '';
}

function ObjFlash_Tr(src, width, height, param, addParam) {//ÇÃ·¡½Ã Åõ¸í Ã³¸®
	param = param || "";
	addParam = addParam || "";
	document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"" + width + "\" height=\"" + height + "\">");
	document.writeln("	<param name=\"movie\" value=\"" + src + "\">");
	document.writeln("	<param name=\"flashVars\" value=\"" + param + "\">");
	document.writeln("	<param name='allowScriptAccess' value='always' />");
	document.writeln("	<param name='quality' value='high' />");
	document.writeln("	<param name='scale' value='noscale' />");
	document.writeln("	<param name='salign' value='lt' />");
	document.writeln("	<param name='loop' value='true' />");
	document.writeln("	<param name='bgcolor' value='#000000' />");
	document.writeln("	<param name='menu' value='true' />");
	document.writeln("	<param name='wmode' value='transparent' />");
	document.writeln("	<param name='base' value='.' />");
	document.writeln("	<embed  bgcolor='#000000' base='.' wmode='transparent' src=\"" + src + "?" + param + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + width + "\" height=\"" + height + "\"></embed>");
	document.writeln("</object>");
}


function imageOver(obj) {
	obj.src = obj.src.replace("off.gif", "on.gif");
}
function imageOut(obj) {
	obj.src = obj.src.replace("on.gif", "off.gif");
}

function tabOver(obj) {
	obj.src = obj.src.replace("_off.gif", "_on.gif");
}
function tabOut(obj) {
	obj.src = obj.src.replace("_on.gif", "_off.gif");
}
function reservation()
{
	window.open('http://www.starwoodhotels.com/sheraton/reservations/index.html');
}
function pop_photo()
{
	window.open("/photo/photo.htm", "SheratonPhoto" , "width=1022, height=698, scrollbars=no");
}
function showme()
{
alert("scrollHeight="+document.documentElement.scrollHeight);
}

function pop_photo()
{
	window.open("/etc/photo_tour.asp", "photo" , "width=764, height=495, scrollbars=no");
}

function pop_protect()
{
	window.open("/popup/protect.asp", "protect" , "width=630, height=800, scrollbars=yes");
}

function pop_newsletter()
{
	window.open("/mailing/mailing.asp", "mailing" , "width=630, height=800, scrollbars=yes");
}

