// Mediawire Communications, Inc.


function getAppVersion() 
{
 appname= navigator.appName;
 appversion = navigator.appVersion;
 majorver = appversion.substring(0, 1);
 if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
 if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
  return 0;
}
function swtch(num, imgname) 
{
  if (getAppVersion())
 {
 document[imgname].src = img[num].src;
 }
}
imgsrc = new Array();
imgsrc[1] = "images/bolita_off.gif";
imgsrc[0] = "images/bolita_on.gif";



if (getAppVersion()) {
  img = new Array();
  for (i = 0; i < imgsrc.length; i++) {
 img[i] = new Image();
 img[i].src = imgsrc[i];
  }
}

function openWindow(page, width, height, top, left, menu, id)
{
	popupwindow = window.open(page,id,"resizable=no,scrollbars=yes,menubar=" + menu + ",width=" + width+ ",height=" + height + ",top=" + top + ",left=" + left);
	if(popupwindow !=null){
		if (popupwindow.opener==null){
			popupwindow.opener=self;
		}
	}
	popupwindow.focus()
}

