/********************技术支持**********************/

function getcopy(stel,company,doit,lang){
if (lang=="cn"){
	if (stel!="") document.write("销售热线:" + stel + "<br>");
	if (company!="") document.write("版权所有 &copy; " + company + "<br>");
	if (doit==1) document.write("<font class=support>技术支持 <a href=http://www.hs-cn.com target=_blank>华商科技</a></font>");
}else if (lang=="en"){
	if (stel!="") document.write("Sale Phone:" + stel + "<br>");
	if (company!="") document.write("Copyright &copy;" + company + "<br>");
	if (doit==1) document.write("<font class=support>Designed By: <a href=http://www.hs-cn.com target=_blank >Huashang Tech.</a></font>");
}
}

/********************弹出窗口**********************/

/*var flag=0,comX=0,comY=0;
function ShowDiv(){
	var theDiv=PreviewPic
	//theDiv.style.left=document.body.clientWidth-theDiv.offsetWidth;
	//theDiv.style.top=document.body.clientHeight-theDiv.offsetHeight;
	theDiv.style.left=document.body.clientWidth-266;
	theDiv.style.top=document.body.clientHeight-354;
}
function HideDiv(theDiv){
	theDiv.style.visibility="hidden";
}
function SyncLayer() {
	theLayer=new Array(PreviewPic);
	for(var i=0;i<theLayer.length;i++)
		theLayer[i].style.top = document.body.clientHeight - theLayer[i].offsetHeight + document.body.scrollTop;
}
function CreateDiv(){
	var DivStr="<div id=\"PreviewPic\" name=\"PreviewPic\" style=\"position:absolute; width:1px; height:1px; z-index:10000; left: 400px; top: 50px; border: 0px none #000000; visibility:none;\" align=\"center\" class=\"hand\" onMouseDown=\"flag=0;comX=event.offsetX;comY=event.offsetY;\" onMouseMove=\"if(flag==1){this.style.left=event.clientX-comX;this.style.top=event.clientY-comY;}\" onMouseUp=\"flag=0;\" onMouseOver=\"flag=0;\">" +
	"<table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\" class=\"trans\">" +
    "<tr bgcolor=\"red\">" +
    "  <td align=\"center\" height=\"18\">五一快乐</td><td align=\"right\"><a href=\"#\" onClick=\"HideDiv(PreviewPic);\"><strong><font color=blue>×</font></strong></a></td>" +
    "</tr>" +
    "<tr>" +
    "  <td align=\"center\" colspan=\"2\">" +
	"  <img src=\"http://www.hs-cn.com/51.gif\" width=266 height=334></td>" +
    "</tr>" +
 	"</table><iframe style=\"background-color:#cccccc;position:absolute; visibility:inherit; top:0px; left:0px; width:266px; height:334px; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';\"></iframe>" +
	"</div>";
	document.write(DivStr);
}
CreateDiv();
document.body.onscroll=SyncLayer;
//document.body.onresize=ShowDiv()
ShowDiv();
setTimeout("HideDiv(PreviewPic);",5000);*/