var bookmarkurl="http://www.parking4less.co.uk"
var bookmarktitle="Parking4less"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,toolbar'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
//<a href=\"javascript:OpenTheWindow(document.home.Company,document.home.Content,document.home.AtopClass,document.home.SetDomain,document.home.MultiHotel,document.home.ATOPlocation,document.home.ATOPresort,document.home.StartDay,document.home.StartMonth,document.home.StartYear,document.home.Nights,document.home.Adults,document.home.Children,document.home.Infants,this.href,'name','740','460','yes');\">
function OpenTheWindow(Company,Content,AtopClass,SetDomain,MultiHotel,ATOPlocation,ATOPresort,StartDay,StartMonth,StartYear,Nights,Adults,Children,Infants,mypage,myname,wth,hht,scroll)
{
if (! window.focus)return true;
var windowname="BookWindow";
var mylink="http://www.superbreak.com/home.cfm";
var href;
var thecomp = Company.value;
var thecon = Content.value;
var thecla = AtopClass.value;
var theset = SetDomain.value;
var themul = MultiHotel.value;
var theloc = ATOPlocation.value;
var theres = ATOPresort.value;
var theday = StartDay.value;
var themon = StartMonth.value;
var theyear = StartYear.value;
var thenig = Nights.value;
var theadu = Adults.value;
var thechi = Children.value;
var theinf = Infants.value;
//var thex = x.value;
//var theh = h.value;
var win = null;

if (typeof(mylink) == 'string'){
   href=mylink+"?Company=" + thecomp + "&Content=" + thecon+ "&AtopClass=" + thecla + "&SetDomain=" + theset + "&MultiHotel=" + themul + "&ATOPlocation=" + theloc + "&ATOPresort=" + theres + "&StartDay=" + theday + "&StartMonth=" + themon + "&StartYear=" + theyear + "&Nights=" + thenig + "&Adults=" + theadu + "&Children=" + thechi + "&Infants=" + theinf;
   //document.write(href);
   }
else
   href=mylink.href;

LeftPosition = (screen.width) ? (screen.width-wth)/2 : 0;
TopPosition = (screen.height) ? (screen.height-hht)/2 : 0;
settings = 'height='+hht+',width='+wth+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',status,resizable,toolbar';
win = window.open(href,myname,settings)
if(win.window.focus){win.window.focus();}
}

function OpenTheWindow3(Company,Content,AtopClass,MultiHotel,Airports,AtopLocation,ATOPresort,StartDay,StartMonth,StartYear,Nights,Adults,Children,Infants,mypage,myname,wth,hht,scroll)
{
if (! window.focus)return true;
var windowname="BookWindow";
var mylink="http://www.superbreak.com/home.cfm";
var href;
var thecomp = Company.value;
var thecon = Content.value;
var thecla = AtopClass.value;
var theair = Airports.value;
var themul = MultiHotel.value;
var theloc = AtopLocation.value;
var theres = ATOPresort.value;
var theday = StartDay.value;
var themon = StartMonth.value;
var theyear = StartYear.value;
var thenig = Nights.value;
var theadu = Adults.value;
var thechi = Children.value;
var theinf = Infants.value;
//var thex = x.value;
//var theh = h.value;
var win = null;

if (typeof(mylink) == 'string'){
   href=mylink+"?Company=" + thecomp + "&Content=" + thecon+ "&AtopClass=" + thecla + "&Airports=" + theair + "&MultiHotel=" + themul + "&AtopLocation="+theloc +"&ATOPresort=" + theres + "&StartDay=" + theday + "&StartMonth=" + themon + "&StartYear=" + theyear + "&Nights=" + thenig + "&Adults=" + theadu + "&Children=" + thechi + "&Infants=" + theinf;
   //document.write(href);
   }
else
   href=mylink.href;

LeftPosition = (screen.width) ? (screen.width-wth)/2 : 0;
TopPosition = (screen.height) ? (screen.height-hht)/2 : 0;
settings = 'height='+hht+',width='+wth+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',status,resizable,toolbar';
win = window.open(href,myname,settings)
if(win.window.focus){win.window.focus();}
}

function OpenTheWindow2(Company,Content,AtopClass,MultiHotel,Airports,AtopLocation,ATOPresort,StartDay,StartMonth,StartYear,Nights,Adults,Children,Infants,mypage,myname,wth,hht,scroll)
{
if (! window.focus)return true;
var windowname="BookWindow";
var mylink="http://www.superbreak.com/home.cfm?content=qsoutput&company=IN644";
var href;
var thecomp = Company.value;
var thecon = Content.value;
var thecla = AtopClass.value;
var theair = Airports.value;
var themul = MultiHotel.value;
var theloc = AtopLocation.value;
var theres = ATOPresort.value;
var theday = StartDay.value;
var themon = StartMonth.value;
var theyear = StartYear.value;
var thenig = Nights.value;
var theadu = Adults.value;
var thechi = Children.value;
var theinf = Infants.value;
//var thex = x.value;
//var theh = h.value;
var win = null;

if (typeof(mylink) == 'string'){
   href=mylink+"?Company=" + thecomp + "&Content=" + thecon+ "&AtopClass=" + thecla + "&Airports=" + theair + "&MultiHotel=" + themul + "&AtopLocation="+theloc +"&ATOPresort=" + theres + "&StartDay=" + theday + "&StartMonth=" + themon + "&StartYear=" + theyear + "&Nights=" + thenig + "&Adults=" + theadu + "&Children=" + thechi + "&Infants=" + theinf;
   //document.write(href);
   }
else
   href=mylink.href;

LeftPosition = (screen.width) ? (screen.width-wth)/2 : 0;
TopPosition = (screen.height) ? (screen.height-hht)/2 : 0;
settings = 'height='+hht+',width='+wth+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',status,resizable,toolbar';
win = window.open(href,myname,settings)
if(win.window.focus){win.window.focus();}
}