//function makeRemote(url){
//remote = window.open("","remotewin", "status=no,toolbar=no,menubar=no");
//remote.location.href= url;
//}
//
//
//function openScript(url, width, height) {
//var rem = window.open("","openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no' );
//rem.location.href= url;
//}
//
var win= null;
function openScript2(mypage,w,h){
  if(w+100 > screen.width){var w = screen.width - 100;}
  if(h+150 > screen.height){var h = screen.height - 150;}
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars=yes,menubar=no,status=no,';
      settings +='resizable=yes';
  win=window.open(mypage,"Image",settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

function openscript3(url, width, height) {
var remote = window.open("","openscript3",'width=' + width + ',height=' + height
 + ',resizable=0,scrollbars=yes,menubar=no,status=no' );
remote.location.href= url;
}

//function getonme() {
//el = event.srcElement ;
//if (el.getAttribute("litUp1") != null) {
//el.className = "onme1" ;
//}
//if (el.getAttribute("litUp2") != null) {
//el.className = "onme2" ;
//}
//}
//function getoffme() {
//el = event.srcElement ;
//if (el.getAttribute("litUp1") != null) {
//el.className = "offme";
//}
//if (el.getAttribute("litUp2") != null) {
//el.className = "offme2";
//}
//}
//document.onmouseover = getonme ;
//document.onmouseout = getoffme ;

