function openNewWin(url) {  

window.open(url,"har", "toolbar=yes,menubar=yes,location=yes,status=yes");  

}





    function openLink1(url) {
      var screenX=screen.availWidth/2;var screenY = screen.availHeight/4;var width=(screen.availWidth/2.25);var height=screen.availHeight/2;
      var features = "'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes,width=" + width + ",height=" + height +",left=" + screenX + ",top=" + screenY + ",screenX=" + screenX + ",screenY=" + screenY + "'";
    

		  if(url.length > 3 && url != "" && url != null)	{
	
			  var popup = window.open(url, "VF", features);
			  popup.focus();   
			  self.focus();
			  document.getElementById("ENTRY").focus();		  
			  
			  }
	   
	   }
       


 function UrlMainPop(sUrl) {
	
    var screenX=screen.availWidth;var screenY = screen.availHeight;var width=(screen.availWidth);var height=screen.availHeight;
    var features = "'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes,width=" + width + ",height=" + height +",left=" + screenX + ",top=" + screenY + ",screenX=" + screenX + ",screenY=" + screenY + "'";
    var target="url_Main";
    

      if(sUrl.length > 3 && sUrl != "" && sUrl != null) {
        if(target.length > 1 && checkTarget(target)) {
          parent.frames[target].location.replace(sUrl);
        }
        else if(target.length > 1 && target != null) {
          var popup = window.open(sUrl, target, features);
          popup.blur();
        }
        else {
          var popup = window.open(sUrl, sUrl, features);
        }

      }
      popup.focus();
      self.focus();
}

function UrlMain(sUrl) {
	
    var screenX=screen.availWidth;var screenY = screen.availHeight;var width=(screen.availWidth);var height=screen.availHeight;
    var features = "'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes,width=" + width + ",height=" + height +",left=" + screenX + ",top=" + screenY + ",screenX=" + screenX + ",screenY=" + screenY + "'";
    var target="url_Main";
    

      if(sUrl.length > 3 && sUrl != "" && sUrl != null) {
        if(target.length > 1 && checkTarget(target)) {
          parent.frames[target].location.replace(sUrl);
        }
        else if(target.length > 1 && target != null) {
          var popup = window.open(sUrl, target, features);
        }
        else {
          var popup = window.open(sUrl, sUrl, features);
        }

      }
      popup.focus();
      self.focus();
}
 
 
