﻿var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
window.screen.height>760 ? imgheight=510:imgheight=310
window.screen.width>800 ? imgleft=5:imgleft=5
function myload()
{
if (navigator.appName == "Netscape")
{document.getElementById('myleft').style.pageY=pageYOffset+window.innerHeight-imgheight;
document.getElementById('myleft').style.pageX=imgleft;
leftmove();
}
else
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myleft.style.left=imgleft;
leftmove();
}
}
function leftmove()
 {
 if(document.ns)
 {
 document.getElementById('myleft').style.top=pageYOffset+window.innerHeight-imgheight
 document.getElementById('myleft').style.left=imgleft;
 setTimeout("leftmove();",100)
 }
 else
 {
 myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
 myleft.style.left=imgleft;
 setTimeout("leftmove();",100)
 }
 }

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)

if (navigator.appName == "Netscape")
{
//document.write("<layer id=myleft style='position: absolute;width:100;top:300;left:5;visibility: visible;z-index: 1'><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=100 HEIGHT=300> <PARAM NAME=movie VALUE=../tuijianimg/dell_100x300.swf> <PARAM NAME=quality VALUE=high> <EMBED src=../tuijianimg/dell_100x300.swf quality=high pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash width=100 height=300></EMBED></OBJECT></layer>");
//myload()
}
else
{
document.write("<div id=myleft style='position: absolute;width:110;top:100;left:5;visibility: visible;z-index: 1'><div style='background:#FFFFFF' align=right><a href='javascript:;' onClick=\"document.getElementById('myleft').style.visibility='hidden'\"><font  color=#000000>关闭</font></a></div><img src='http://www.alcoholnet.com/images/tel_jj.gif' WIDTH='110'  border='0'></div>");
myload()
}

