      function openWindow(url,size) {
      	agent = navigator.userAgent;
      	windowName = "_blank";
      	params  = "";
				params = "top=25,";
          params += "screenY=25,";
          params += "left=25,";
          params += "screenX=25,";
      	params += "toolbar=1,";
      	params += "location=1,";
      	params += "directories=0,";
      	params += "status=0,";
      	params += "menubar=1,";
      	params += "scrollbars=1,";
      	params += "resizable=1,";
      	if(size == 1)
      		{
	      	params += "width=450,";
	      	params += "height=300";
		      }
	        if(size == 2)
		      {
		      params += "width=520,";
	      	params += "height=350";
	     	}
	        if(size == 3)
		      {
		      params += "width=700,";
	      	params += "height=450";
	     	}
         win = window.open(url, windowName , params);
			    win.focus();
 }
					
			
		function openPrint(title) { var i, a, main; 
		for (i=0; (a = document.getElementsByTagName("link")[i]); i++) { 
		if (a.getAttribute("rel") && a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
		a.disabled = true; 
		if(a.getAttribute("title") == title) a.disabled = false; } } }
		