//ezprint
function printpage(url){
   myWindow = window.open( url, "theWindow", "toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,status=yes,location=yes,left=50,screenX=50,top=50,screenY=50,width=576,height=400");
   myWindow.focus();
}
//just what is
function justwhatis(url){
   myWindow = window.open( url, "theWindow", "toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,status=yes,location=no,left=50,screenX=50,top=50,screenY=50,width=510,height=465");
   myWindow.focus();
}
// gallery
function gallery(url){
   myWindow2 = window.open( url, "theWindow2", "toolbar=no,menubar=no,scrollbars=yes,resizable=no,status=yes,location=no,left=50,screenX=50,top=50,screenY=50,width=460,height=475");
   myWindow2.focus();
}
//slideshow
function slideshow(url){
   myWindow3 = window.open( url, "theWindow3", "toolbar=no,menubar=no,scrollbars=no,resizable=no,status=yes,location=no,left=50,screenX=50,top=50,screenY=50,width=760,height=548");
   myWindow3.focus();
}
//any window
function openWin(url, myWidth, myHeight){
   myWindow4 = window.open( url, "theWindow4", "toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes,location=no,left=50,screenX=50,top=50,screenY=50,width=" + myWidth + ",height=" + myHeight);
   myWindow4.focus();
}
//any external window
function openExtnWin(url, myWidth, myHeight){
   myWindow4 = window.open( url, "theWindow4", "toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes,location=yes,left=50,screenX=50,top=50,screenY=50,width=" + myWidth + ",height=" + myHeight);
   myWindow4.focus();
}


// code for new windows
function new_window(url) {
  window.open(url, 'newwindow', 'width=800,height=550,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes'); 
  return false;
}
// code for pop ups
function popup(url) {
  win = window.open(url, 'popupwindow', 'width=410,height=450,top=0,left=0,resizable=yes,menubar=yes,scrollbars=yes'); 
  win.focus()
  return false;
}
// code for open smallwin
function openSmallWin(url, myWidth, myHeight){
   myWindow = window.open( url, "theWindow", "toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=yes,location=no,width=" + myWidth + ",height=" + myHeight);
   myWindow.moveTo(10,10);
   myWindow.focus();
}

