// pop
var iexw = 25; //34
var iexh = 60; //105
var mozxw = 24;
var mozxh = 70;

function openBleed(page){
	 //declare size
	 var width = 579;
	 var height = 467;
	 //open window, or re-use window
	image = this.open(""+page+"","image", "toolbar=no, menubar=no ,location=no, scrollbars=no, resizable=no, margin=0, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
	//resize page differently for browser quirks
   if (navigator.appName=="Microsoft Internet Explorer") {
	   	// resize for ie
		image.resizeTo(width+iexw,height+iexh);
   }else{
	   //resize for mozilla based browsers
	   image.resizeTo(image.innerWidth = width+mozxw,image.innerHeight = height+mozxh);
   }
   	//wait 0.01 sec then focus page
	setTimeout("image.focus()",99);
	clearTimeout();
}
//
function openImp(page){
	//declare size
	 var width = 600;
	 var height = 400;
	 //open window, or re-use window
	image = this.open(""+page+"","image", "toolbar=no, menubar=no ,location=no, scrollbars=no, resizable=no, margin=0, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
	//resize page differently for browser quirks
   if (navigator.appName=="Microsoft Internet Explorer") {
	   	// resize for ie
		image.resizeTo(width+iexw,height+iexh);
   }else{
	   //resize for mozilla based browsers
	   image.resizeTo(image.innerWidth = width+mozxw,image.innerHeight = height+mozxh);
   }
   	//wait 0.01 sec then focus page
	setTimeout("image.focus()",99);
	clearTimeout();
}


