
function OpenWin( path, win_name ){
   win=window.open(path, win_name ,"width=480, height=250, scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,favorites=no,resizable=no");
}

function OpenWin1(path, win_name, win_size){
    win=window.open(path,win_name,win_size+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,favorites=no,resizable=no");
}

function OpenWin2(path, win_name, win_size){
    win=window.open(path,win_name,win_size+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,favorites=no,resizable=no");
}

function OpenWin3( path, win_name ){
   win=window.open(path, win_name ,"width=500, height=500, scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,favorites=no,resizable=n");
}

function OpenWin4( path, win_name ){
   win=window.open(path, win_name ,"width=200, height=170, scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,favorites=no,resizable=n");
}



function changeImages(imagename,imagefile) {
if (document.layers) {
	document.images[imagename].src = imagefile; 		// for N4
	}
else if (document.getElementById) {
	document.getElementById(imagename).src = imagefile; 	// for IE5, N6
	document.getElementById(imagename).style.border=0;
	}
else	{
	document.all(imagename).src = imagefile; 			// for IE4
	}
}





function showhide(id){
  if(document.getElementById){
    if(document.getElementById(id).style.display == "none")
      document.getElementById(id).style.display = "block";
    else
      document.getElementById(id).style.display = "none";
  }
}



function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function gal_openWin(theURL,winName) { //v2.0
  window.open(theURL,winName,'resizable=yes,width=700,height=400');
}
