   function PopUp(){
    var ScreenWidth=window.screen.width;
    var ScreenHeight=window.screen.height;
    var movefromedge=0;
    placementx=movefromedge;
    placementy=movefromedge;
    var PopUpUrl="http://www.1st-for-french-property.co.uk/alert.htm"
    WinPop=window.open(PopUpUrl,"","width=300,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0,left="+placementx+",top="+placementy+",screenX="+placementx+",screenY="+placementy+",");
   }
   function CheckCookie(PopName) {
    var ReturnVal = "";
    var PopV = PopName + "=";
    if (document.cookie.length > 0) {
     OffSet = document.cookie.indexOf(PopV);
     if (OffSet != -1) {
      OffSet += PopV.length;
      End = document.cookie.indexOf(";", OffSet);
     if (End == -1)
      End = document.cookie.length;
     ReturnVal=unescape(document.cookie.substring(OffSet, End));
      }
    }
    return ReturnVal;
   }
   function LOadIt(){
    if (CheckCookie("Popped")==""){
     PopUp();
     document.cookie="Popped=yes";
    }
   }

function OpenNewsWindow(url) {
theWindow = window.open(url, "News", "directories=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes,width=600,height=400");
if (window.focus) theWindow.focus();
}
