﻿//code update in 10:11 2008-1-24 ,adooo
function swf(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="menu" value="false">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high wmode="transparent" bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

//主页logo
function ad_logo(){
document.write('<script>swf("http://www.ieshop.com.cn/flash/logo.swf","70","70")</script>'); 
}

//banner
function ad_banner(){
document.write('<script>swf("http://www.ieshop.com.cn/flash/gallery.swf","980","298")</script>'); 
}

function showKefu(val)
{
	   val.style.display = 'block';
	   //document.getElementById("showkfwrap").style.left = 0 + "px";
}
function closekf()
{
	document.getElementById("e").style.display = '';
	/*document.getElementById("showkfwrap").style.left = -146 + "px";*/
}
//滚动代码开始
/*function qqshow(){
if (document.body.offsetWidth >900)
{
 document.getElementById("showkfwrap").style.top=(document.documentElement.scrollTop+30)+"px";
}
else
{
 document.getElementById("showkfwrap").style.display="none";
}
}
function showqq(){
setTimeout("qqshow();",10);
}
window.onscroll=showqq;
window.onresize=qqshow;
window.onload=qqshow;
function fullScreen(){
 this.moveTo(0,0);
this.outerWidth=screen.availWidth;
this.outerHeight=screen.availHeight;
}
window.maximize=fullScreen;
*/
