// JavaScript Document
NS = 0;
IE =0;
if(navigator.appName == 'Netscape'){
 NS = 1;
}else if(navigator.appName == 'Microsoft Internet Explorer'){
 IE = 1; 
}




function openImgCenter(divID){ 
	if(IE) {
    	windowWidth = document.body.clientWidth;
  		windowHeight = document.body.clientHeight;
  	}
 	if(NS) {
  		windowWidth = window.innerWidth;
  		windowHeight = window.innerHeight;
 	}
	Toshow('white');
 	document.getElementById(divID).style.left =(windowWidth)/2 -351 +'px';
 	document.getElementById(divID).style.top ='50px';
	
}
function closeImgCenter(divID){
	 document.getElementById(divID).style.top ='-1000px';
	 Nonshow('white');
	 document.getElementById('ImgContent').innHTML ='';
}

function openImgCenter3(divID){ 
	if(IE) {
    	windowWidth = document.body.clientWidth;
  		windowHeight = document.body.clientHeight;
  	}
 	if(NS) {
  		windowWidth = window.innerWidth;
  		windowHeight = window.innerHeight;
 	}
	Toshow('white');
 	document.getElementById(divID).style.left =(windowWidth)/2 -400 +'px';
 	document.getElementById(divID).style.top ='50px';
	
}
function closeImgCenter3(divID){
	 document.getElementById(divID).style.top ='-1000px';
	 Nonshow('white');
	 //document.getElementById('ImgContent').innHTML ='';
}