function spacebar(i)
	{
		document.write('<img src="../images/spacer.gif" border="0" width="'+i+'" height="1" />');
	}		
function setFlash(src, w, h) {
		var Flash_html = "";
		Flash_html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
		Flash_html += '<param name="movie" value="'+src+'">';
		Flash_html += '<param name="quality" value="high">';
		Flash_html += '<param name="wmode" value="transparent">';
		Flash_html += '<param name="swliveconnect" value="true">';
		Flash_html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
		Flash_html += '<\/object>';

		document.write(Flash_html);
	}
//weblink
  function OpenLinks(fs1)
			{
				path=fs1.weblink.options[fs1.weblink.selectedIndex].value;
				window.open(path);
			}
//weblink
//popup
function OpenPopup(url,id,w,h)
{
lk=url+"?id=" + id + "&title=gia-vang-gold-ty-gia-ngoai-te-rate-of-exchange-thoi-tiet-weather.html";
					playnew = window.open(lk,"","width="+w+",height="+h+",scrollbars=no,resizable=no,status=no");
					playnew.focus();
}
//popup
//fullsize img
function FullSizePicture(url,productname)
{
lk="FullSizePicture.php?url=/" + url + "&productname=" + productname;
					playnew = window.open(lk,"","width=10,height=10,scrollbars=yes,resizable=yes,status=no");
					playnew.focus();
}
//fullsize img	