<!--

//if(window.GO_txt)
//{
//  document.write('<a href="javascript:GO_openCat();">'+ GO_txt +'</a>');
//}

function $$(id){return document.getElementById(id);} 
//document.write ('<script language="javascript" type="text/javascript" src="/images/book.gif"></script>');
function GO_open(test,outWidth,outHeight,inWidth,inHeight,frmSrc,navInfo)
{
  if(document.readyState=="complete"){
	  if(!test){test = 0;}
	  var d = document;
	  var _docW = (d.width != undefined) ? d.width : d.body.offsetWidth;
	  var _docH = Math.max(d.documentElement.clientHeight, d.documentElement.scrollHeight);
	  if(window.innerHeight > _docH){ _docH = window.innerHeight;}
	  _docH = Math.max(_docH,d.body.scrollHeight);
	  if(d.documentElement.clientHeight > 0){_docW = d.documentElement.scrollWidth;}else{_docW = d.body.scrollWidth;}
	  var _docS = (d.all ? Math.max(d.body.scrollTop,d.documentElement.scrollTop) : window.pageYOffset);
	  var _docPH = (d.all ? Math.max(d.body.clientHeight,d.documentElement.clientHeight) : window.innerHeight);
	  if(d.all){if(d.documentElement.clientHeight > 0){_docPH = d.documentElement.clientHeight;}}
	  if(window.opera){_docPH = window.innerHeight;}
	  
	  if(!$$('GO_Layer'))
	  {
		var GO_bg = d.createElement('div');
		GO_bg.style.display = 'none';
		GO_bg.id = 'GO_Layer';
		d.getElementsByTagName('body').item(0).appendChild(GO_bg);
	  }
	  else
	  {
		var GO_bg = $$('GO_Layer');
	  }
		
	  with (GO_bg.style)
	  {
		position = 'absolute';
		backgroundColor = '#000';
		left = '0px';
		top = '0px';
		zindex = 10001;
		filter = 'alpha(opacity=80)';
		opacity = .80;
		width = _docW +'px';
		height = _docH +'px';
		display = 'block';
	  }

	if(!$$('GO_c_Layer'))
	  {
		var GO_c = d.createElement('div');
		GO_c.style.display = 'none';
		GO_c.id = 'GO_c_Layer';
		d.getElementsByTagName('body').item(0).appendChild(GO_c);
	  }
	  else
	  {
		var GO_c = $$('GO_c_Layer');
	  }
	
	  with (GO_c.style)
	  {
		width = outWidth + 'px';
		height = outHeight + 'px';
		position = 'absolute';
		top = (((_docPH-486)/2) + _docS) + 'px';
		//left =  (((_docW - 924)/2) > 0 ? (((_docW - 924)/2) - 50) + 'px' : '10px');
		left = '50%';
		margin = '0 0 0 -'+outWidth/2;
		//top = '85px';
		//left = '5px';
		backgroundColor = '#3FB800';
		zindex = 10003;
	  }
	  

	  GO_c.innerHTML = '<div style="margin:8px 0px 0px 10px;float:left;font-family:verdana;color:#fff;font-size:14px;">'+ navInfo +'</div><a href="javascript:GO_close();"><img src="http://go.taizhou.com/images/sClose.gif" border="0" title="Close"  style="float:right;margin:5px 10px 0px 0px;" /></a>';
	  GO_c.style.display = 'block';	
		
	
	  if(!$$('GO_i_Layer'))
	  {
		var GO_i = d.createElement('iframe');
		GO_i.id = 'GO_i_Layer';
		d.getElementsByTagName('body').item(0).appendChild(GO_i);
	  }
	  else
	  {
		var GO_i = $$('GO_i_Layer');
	  }
	
	  if(document.all){GO_i.scrolling = 'yes'}; 
	  GO_i.src = 'http://go.taizhou.com/' + frmSrc;
	  GO_i.scrolling = 'no';
	  
	  
	  
	  with (GO_i.style)
	  {
		position = 'absolute';
		height = inHeight + 'px';
		display = 'none';
		margin = '0px';
		padding = '0px';
		width = inWidth + 'px';
		border = '0px';
		top = (((_docPH-466)/2) + _docS + 20) + 'px';
		//left =  (((_docW - 904)/2) > 0 ? (((_docW - 904)/2) - 50) + 'px' : '10px');
		left = '50%';
		//margin = '0 0 0 -440px';
		margin = '0 0 0 -'+inWidth/2;
		//top = '113px';
		//left = '15px';
		zindex = 10005;
	  }
	
	  GO_i.style.display = 'block';
	  	  
  }
}


function GO_close()
{
  $$('GO_Layer').style.display = 'none';
  $$('GO_i_Layer').style.display = 'none';
  $$('GO_c_Layer').style.display = 'none';
}








//-->

