﻿//siteMapPop;
//0 means disabled; 1 means enabled;
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopup(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackground").css({
			"opacity": "0.7"
		});
		$("#popupBackground").fadeIn("slow");
		$("#siteMapPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopup(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackground").fadeOut("slow");
		$("#siteMapPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopup(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#siteMapPop").height();
	var popupWidth = $("#siteMapPop").width();
	//centering
	$("#siteMapPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackground").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".sitemappopup").click(function(){
		//centering with css
		centerPopup();
		//load popup
		loadPopup();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#siteMapPopClose").click(function(){
		disablePopup();
	});
	//Click out event!
	$("#popupBackground").click(function(){
		disablePopup();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopup();
		}
	});

});
//floorplanM;
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupfloorplanM(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundfloorplanM").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundfloorplanM").fadeIn("slow");
		$("#floorplanM").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupfloorplanM(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundfloorplanM").fadeOut("slow");
		$("#floorplanM").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupfloorplanM(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#floorplanM").height();
	var popupWidth = $("#floorplanM").width();
	//centering
	$("#floorplanM").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundfloorplanM").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".floorplanMpopup").click(function(){
		//centering with css
		centerPopupfloorplanM();
		//load popup
		loadPopupfloorplanM();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#floorplanMClose").click(function(){
		disablePopupfloorplanM();
	});
	//Click out event!
	$("#popupBackgroundfloorplanM").click(function(){
		disablePopupfloorplanM();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupfloorplanM();
		}
	});

});
//floorplanG
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupfloorplanG(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundfloorplanG").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundfloorplanG").fadeIn("slow");
		$("#floorplanG").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupfloorplanG(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundfloorplanG").fadeOut("slow");
		$("#floorplanG").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupfloorplanG(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#floorplanG").height();
	var popupWidth = $("#floorplanG").width();
	//centering
	$("#floorplanG").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundfloorplanG").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".floorplanGpopup").click(function(){
		//centering with css
		centerPopupfloorplanG();
		//load popup
		loadPopupfloorplanG();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#floorplanGClose").click(function(){
		disablePopupfloorplanG();
	});
	//Click out event!
	$("#popupBackgroundfloorplanG").click(function(){
		disablePopupfloorplanG();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupfloorplanG();
		}
	});

});
//wedMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupwedMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundwedMenu").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundwedMenu").fadeIn("slow");
		$("#wedMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupwedMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundwedMenu").fadeOut("slow");
		$("#wedMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupwedMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#wedMenuPop").height();
	var popupWidth = $("#wedMenuPop").width();
	//centering
	$("#wedMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundwedMenu").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".wedMenuPopup").click(function(){
		//centering with css
		centerPopupwedMenuPop();
		//load popup
		loadPopupwedMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#wedMenuPopClose").click(function(){
		disablePopupwedMenuPop();
	});
	//Click out event!
	$("#popupBackgroundwedMenu").click(function(){
		disablePopupwedMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupwedMenuPop();
		}
	});

});
//tournMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuptournMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundtournMenu").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundtournMenu").fadeIn("slow");
		$("#tournMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuptournMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundtournMenu").fadeOut("slow");
		$("#tournMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuptournMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#tournMenuPop").height();
	var popupWidth = $("#tournMenuPop").width();
	//centering
	$("#tournMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundtournMenu").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".tournMenuPopup").click(function(){
		//centering with css
		centerPopuptournMenuPop();
		//load popup
		loadPopuptournMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#tournMenuPopClose").click(function(){
		disablePopuptournMenuPop();
	});
	//Click out event!
	$("#popupBackgroundtournMenu").click(function(){
		disablePopuptournMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuptournMenuPop();
		}
	});

});
//holMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupholMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundholMenu").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundholMenu").fadeIn("slow");
		$("#holMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupholMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundholMenu").fadeOut("slow");
		$("#holMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupholMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#holMenuPop").height();
	var popupWidth = $("#holMenuPop").width();
	//centering
	$("#holMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundholMenu").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".holMenuPopup").click(function(){
		//centering with css
		centerPopupholMenuPop();
		//load popup
		loadPopupholMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#holMenuPopClose").click(function(){
		disablePopupholMenuPop();
	});
	//Click out event!
	$("#popupBackgroundholMenu").click(function(){
		disablePopupholMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupholMenuPop();
		}
	});

});
//breakfastMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupbreakMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundbreakMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundbreakMenuPop").fadeIn("slow");
		$("#breakMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupbreakMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundbreakMenuPop").fadeOut("slow");
		$("#breakMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupbreakMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#breakMenuPop").height();
	var popupWidth = $("#breakMenuPop").width();
	//centering
	$("#breakMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundbreakMenuPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".breakMenuPopup").click(function(){
		//centering with css
		centerPopupbreakMenuPop();
		//load popup
		loadPopupbreakMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#breakMenuPopClose").click(function(){
		disablePopupbreakMenuPop();
	});
	//Click out event!
	$("#popupBackgroundbreakMenuPop").click(function(){
		disablePopupbreakMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupbreakMenuPop();
		}
	});

});
//appMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupappMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundappMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundappMenuPop").fadeIn("slow");
		$("#appMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupappMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundappMenuPop").fadeOut("slow");
		$("#appMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupappMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#appMenuPop").height();
	var popupWidth = $("#appMenuPop").width();
	//centering
	$("#appMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundappMenuPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".appMenuPopup").click(function(){
		//centering with css
		centerPopupappMenuPop();
		//load popup
		loadPopupappMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#appMenuPopClose").click(function(){
		disablePopupappMenuPop();
	});
	//Click out event!
	$("#popupBackgroundappMenuPop").click(function(){
		disablePopupappMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupappMenuPop();
		}
	});

});
//lunchMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuplunchMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundlunchMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundlunchMenuPop").fadeIn("slow");
		$("#lunchMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuplunchMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundlunchMenuPop").fadeOut("slow");
		$("#lunchMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuplunchMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#lunchMenuPop").height();
	var popupWidth = $("#lunchMenuPop").width();
	//centering
	$("#lunchMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundlunchMenuPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".lunchMenuPopup").click(function(){
		//centering with css
		centerPopuplunchMenuPop();
		//load popup
		loadPopuplunchMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#lunchMenuPopClose").click(function(){
		disablePopuplunchMenuPop();
	});
	//Click out event!
	$("#popupBackgroundlunchMenuPop").click(function(){
		disablePopuplunchMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuplunchMenuPop();
		}
	});

});
//burgerMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupburgerMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundburgerMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundburgerMenuPop").fadeIn("slow");
		$("#burgerMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupburgerMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundburgerMenuPop").fadeOut("slow");
		$("#burgerMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupburgerMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#burgerMenuPop").height();
	var popupWidth = $("#burgerMenuPop").width();
	//centering
	$("#burgerMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundburgerMenuPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".burgerMenuPopup").click(function(){
		//centering with css
		centerPopupburgerMenuPop();
		//load popup
		loadPopupburgerMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#burgerMenuPopClose").click(function(){
		disablePopupburgerMenuPop();
	});
	//Click out event!
	$("#popupBackgroundburgerMenuPop").click(function(){
		disablePopupburgerMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupburgerMenuPop();
		}
	});

});
//pastaMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuppastaMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundpastaMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundpastaMenuPop").fadeIn("slow");
		$("#pastaMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuppastaMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundpastaMenuPop").fadeOut("slow");
		$("#pastaMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuppastaMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#pastaMenuPop").height();
	var popupWidth = $("#pastaMenuPop").width();
	//centering
	$("#pastaMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundpastaMenuPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".pastaMenuPopup").click(function(){
		//centering with css
		centerPopuppastaMenuPop();
		//load popup
		loadPopuppastaMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#pastaMenuPopClose").click(function(){
		disablePopuppastaMenuPop();
	});
	//Click out event!
	$("#popupBackgroundpastaMenuPop").click(function(){
		disablePopuppastaMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuppastaMenuPop();
		}
	});

});
//dinnerMenuPop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupdinnerMenuPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgrounddinnerMenuPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgrounddinnerMenuPop").fadeIn("slow");
		$("#dinnerMenuPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupdinnerMenuPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgrounddinnerMenuPop").fadeOut("slow");
		$("#dinnerMenuPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupdinnerMenuPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#dinnerMenuPop").height();
	var popupWidth = $("#dinnerMenuPop").width();
	//centering
	$("#dinnerMenuPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgrounddinnerMenuPopp").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".dinnerMenuPopup").click(function(){
		//centering with css
		centerPopupdinnerMenuPop();
		//load popup
		loadPopupdinnerMenuPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#dinnerMenuPopClose").click(function(){
		disablePopupdinnerMenuPop();
	});
	//Click out event!
	$("#popupBackgrounddinnerMenuPop").click(function(){
		disablePopupdinnerMenuPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupdinnerMenuPop();
		}
	});

});
//image1Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage1Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage1Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage1Pop").fadeIn("slow");
		$("#image1Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage1Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage1Pop").fadeOut("slow");
		$("#image1Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage1Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image1Pop").height();
	var popupWidth = $("#image1Pop").width();
	//centering
	$("#image1Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage1Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image1Popup").click(function(){
		//centering with css
		centerPopupimage1Pop();
		//load popup
		loadPopupimage1Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image1PopClose").click(function(){
		disablePopupimage1Pop();
	});
	//Click out event!
	$("#popupBackgroundimage1Pop").click(function(){
		disablePopupimage1Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage1Pop();
		}
	});

});
//image2Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage2Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage2Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage2Pop").fadeIn("slow");
		$("#image2Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage2Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage2Pop").fadeOut("slow");
		$("#image2Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage2Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image2Pop").height();
	var popupWidth = $("#image2Pop").width();
	//centering
	$("#image2Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage2Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image2Popup").click(function(){
		//centering with css
		centerPopupimage2Pop();
		//load popup
		loadPopupimage2Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image2PopClose").click(function(){
		disablePopupimage2Pop();
	});
	//Click out event!
	$("#popupBackgroundimage2Pop").click(function(){
		disablePopupimage2Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage2Pop();
		}
	});

});
//image3Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage3Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage3Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage3Pop").fadeIn("slow");
		$("#image3Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage3Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage3Pop").fadeOut("slow");
		$("#image3Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage3Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image3Pop").height();
	var popupWidth = $("#image3Pop").width();
	//centering
	$("#image3Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage3Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image3Popup").click(function(){
		//centering with css
		centerPopupimage3Pop();
		//load popup
		loadPopupimage3Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image3PopClose").click(function(){
		disablePopupimage3Pop();
	});
	//Click out event!
	$("#popupBackgroundimage3Pop").click(function(){
		disablePopupimage3Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage3Pop();
		}
	});

});
//image4Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage4Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage4Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage4Pop").fadeIn("slow");
		$("#image4Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage4Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage4Pop").fadeOut("slow");
		$("#image4Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage4Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image4Pop").height();
	var popupWidth = $("#image4Pop").width();
	//centering
	$("#image4Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage4Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image4Popup").click(function(){
		//centering with css
		centerPopupimage4Pop();
		//load popup
		loadPopupimage4Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image4PopClose").click(function(){
		disablePopupimage4Pop();
	});
	//Click out event!
	$("#popupBackgroundimage4Pop").click(function(){
		disablePopupimage4Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage4Pop();
		}
	});

});
//image5Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage5Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage5Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage5Pop").fadeIn("slow");
		$("#image5Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage5Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage5Pop").fadeOut("slow");
		$("#image5Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage5Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image5Pop").height();
	var popupWidth = $("#image5Pop").width();
	//centering
	$("#image5Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage5Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image5Popup").click(function(){
		//centering with css
		centerPopupimage5Pop();
		//load popup
		loadPopupimage5Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image5PopClose").click(function(){
		disablePopupimage5Pop();
	});
	//Click out event!
	$("#popupBackgroundimage5Pop").click(function(){
		disablePopupimage5Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage5Pop();
		}
	});

});
// ------------------------------------------------------image6Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage6Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage6Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage6Pop").fadeIn("slow");
		$("#image6Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage6Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage6Pop").fadeOut("slow");
		$("#image6Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage6Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image6Pop").height();
	var popupWidth = $("#image6Pop").width();
	//centering
	$("#image6Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage6Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image6Popup").click(function(){
		//centering with css
		centerPopupimage6Pop();
		//load popup
		loadPopupimage6Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image6PopClose").click(function(){
		disablePopupimage6Pop();
	});
	//Click out event!
	$("#popupBackgroundimage6Pop").click(function(){
		disablePopupimage6Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage6Pop();
		}
	});

});
// ------------------------------------------------------image7Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage7Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage7Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage7Pop").fadeIn("slow");
		$("#image7Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage7Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage7Pop").fadeOut("slow");
		$("#image7Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage7Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image7Pop").height();
	var popupWidth = $("#image7Pop").width();
	//centering
	$("#image7Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage7Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image7Popup").click(function(){
		//centering with css
		centerPopupimage7Pop();
		//load popup
		loadPopupimage7Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image7PopClose").click(function(){
		disablePopupimage7Pop();
	});
	//Click out event!
	$("#popupBackgroundimage7Pop").click(function(){
		disablePopupimage7Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage7Pop();
		}
	});

});
// ------------------------------------------------------image6Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage8Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage8Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage8Pop").fadeIn("slow");
		$("#image8Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage8Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage8Pop").fadeOut("slow");
		$("#image8Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage8Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image8Pop").height();
	var popupWidth = $("#image8Pop").width();
	//centering
	$("#image8Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage8Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image8Popup").click(function(){
		//centering with css
		centerPopupimage8Pop();
		//load popup
		loadPopupimage8Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image8PopClose").click(function(){
		disablePopupimage8Pop();
	});
	//Click out event!
	$("#popupBackgroundimage8Pop").click(function(){
		disablePopupimage8Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage8Pop();
		}
	});

});
// ------------------------------------------------------image9Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage9Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage9Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage9Pop").fadeIn("slow");
		$("#image9Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage9Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage9Pop").fadeOut("slow");
		$("#image9Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage9Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image9Pop").height();
	var popupWidth = $("#image9Pop").width();
	//centering
	$("#image9Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage9Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image9Popup").click(function(){
		//centering with css
		centerPopupimage9Pop();
		//load popup
		loadPopupimage9Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image9PopClose").click(function(){
		disablePopupimage9Pop();
	});
	//Click out event!
	$("#popupBackgroundimage9Pop").click(function(){
		disablePopupimage9Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage9Pop();
		}
	});

});
// ------------------------------------------------------image10Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage10Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage10Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage10Pop").fadeIn("slow");
		$("#image10Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage10Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage10Pop").fadeOut("slow");
		$("#image10Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage10Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image10Pop").height();
	var popupWidth = $("#image10Pop").width();
	//centering
	$("#image10Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage10Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image10Popup").click(function(){
		//centering with css
		centerPopupimage10Pop();
		//load popup
		loadPopupimage10Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image10PopClose").click(function(){
		disablePopupimage10Pop();
	});
	//Click out event!
	$("#popupBackgroundimage10Pop").click(function(){
		disablePopupimage10Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage10Pop();
		}
	});

});
// ------------------------------------------------------image11Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage11Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage11Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage11Pop").fadeIn("slow");
		$("#image11Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage11Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage11Pop").fadeOut("slow");
		$("#image11Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage11Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image11Pop").height();
	var popupWidth = $("#image11Pop").width();
	//centering
	$("#image11Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage11Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image11Popup").click(function(){
		//centering with css
		centerPopupimage11Pop();
		//load popup
		loadPopupimage11Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image11PopClose").click(function(){
		disablePopupimage11Pop();
	});
	//Click out event!
	$("#popupBackgroundimage11Pop").click(function(){
		disablePopupimage11Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage11Pop();
		}
	});

});
// ------------------------------------------------------image12Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage12Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage12Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage12Pop").fadeIn("slow");
		$("#image12Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage12Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage12Pop").fadeOut("slow");
		$("#image12Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage12Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image12Pop").height();
	var popupWidth = $("#image12Pop").width();
	//centering
	$("#image12Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage12Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image12Popup").click(function(){
		//centering with css
		centerPopupimage12Pop();
		//load popup
		loadPopupimage12Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image12PopClose").click(function(){
		disablePopupimage12Pop();
	});
	//Click out event!
	$("#popupBackgroundimage12Pop").click(function(){
		disablePopupimage12Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage12Pop();
		}
	});

});
// ------------------------------------------------------image13Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage13Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage13Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage13Pop").fadeIn("slow");
		$("#image13Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage13Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage13Pop").fadeOut("slow");
		$("#image13Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage13Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image13Pop").height();
	var popupWidth = $("#image13Pop").width();
	//centering
	$("#image13Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage13Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image13Popup").click(function(){
		//centering with css
		centerPopupimage13Pop();
		//load popup
		loadPopupimage13Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image13PopClose").click(function(){
		disablePopupimage13Pop();
	});
	//Click out event!
	$("#popupBackgroundimage13Pop").click(function(){
		disablePopupimage13Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage13Pop();
		}
	});

});
// ------------------------------------------------------image14Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage14Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage14Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage14Pop").fadeIn("slow");
		$("#image14Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage14Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage14Pop").fadeOut("slow");
		$("#image14Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage14Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image14Pop").height();
	var popupWidth = $("#image14Pop").width();
	//centering
	$("#image14Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage14Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image14Popup").click(function(){
		//centering with css
		centerPopupimage14Pop();
		//load popup
		loadPopupimage14Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image14PopClose").click(function(){
		disablePopupimage14Pop();
	});
	//Click out event!
	$("#popupBackgroundimage14Pop").click(function(){
		disablePopupimage14Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage14Pop();
		}
	});

});
// ------------------------------------------------------image15Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage15Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage15Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage15Pop").fadeIn("slow");
		$("#image15Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage15Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage15Pop").fadeOut("slow");
		$("#image15Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage15Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image15Pop").height();
	var popupWidth = $("#image15Pop").width();
	//centering
	$("#image15Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage15Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image15Popup").click(function(){
		//centering with css
		centerPopupimage15Pop();
		//load popup
		loadPopupimage15Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image15PopClose").click(function(){
		disablePopupimage15Pop();
	});
	//Click out event!
	$("#popupBackgroundimage15Pop").click(function(){
		disablePopupimage15Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage15Pop();
		}
	});

});
// ------------------------------------------------------image16Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage16Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage16Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage16Pop").fadeIn("slow");
		$("#image16Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage16Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage16Pop").fadeOut("slow");
		$("#image16Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage16Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image16Pop").height();
	var popupWidth = $("#image16Pop").width();
	//centering
	$("#image16Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage16Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image16Popup").click(function(){
		//centering with css
		centerPopupimage16Pop();
		//load popup
		loadPopupimage16Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image16PopClose").click(function(){
		disablePopupimage16Pop();
	});
	//Click out event!
	$("#popupBackgroundimage16Pop").click(function(){
		disablePopupimage16Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage16Pop();
		}
	});

});
// ------------------------------------------------------image17Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage17Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage17Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage17Pop").fadeIn("slow");
		$("#image17Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage17Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage17Pop").fadeOut("slow");
		$("#image17Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage17Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image17Pop").height();
	var popupWidth = $("#image17Pop").width();
	//centering
	$("#image17Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage17Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image17Popup").click(function(){
		//centering with css
		centerPopupimage17Pop();
		//load popup
		loadPopupimage17Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image17PopClose").click(function(){
		disablePopupimage17Pop();
	});
	//Click out event!
	$("#popupBackgroundimage17Pop").click(function(){
		disablePopupimage17Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage17Pop();
		}
	});

});
// ------------------------------------------------------image18Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage18Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage18Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage18Pop").fadeIn("slow");
		$("#image18Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage18Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage18Pop").fadeOut("slow");
		$("#image18Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage18Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image18Pop").height();
	var popupWidth = $("#image18Pop").width();
	//centering
	$("#image18Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage18Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image18Popup").click(function(){
		//centering with css
		centerPopupimage18Pop();
		//load popup
		loadPopupimage18Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image18PopClose").click(function(){
		disablePopupimage18Pop();
	});
	//Click out event!
	$("#popupBackgroundimage18Pop").click(function(){
		disablePopupimage18Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage18Pop();
		}
	});

});
// ------------------------------------------------------image19Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage19Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage19Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage19Pop").fadeIn("slow");
		$("#image19Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage19Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage19Pop").fadeOut("slow");
		$("#image19Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage19Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image19Pop").height();
	var popupWidth = $("#image19Pop").width();
	//centering
	$("#image19Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage19Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image19Popup").click(function(){
		//centering with css
		centerPopupimage19Pop();
		//load popup
		loadPopupimage19Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image19PopClose").click(function(){
		disablePopupimage19Pop();
	});
	//Click out event!
	$("#popupBackgroundimage19Pop").click(function(){
		disablePopupimage19Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage19Pop();
		}
	});

});
// ------------------------------------------------------image20Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage20Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage20Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage20Pop").fadeIn("slow");
		$("#image20Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage20Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage20Pop").fadeOut("slow");
		$("#image20Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage20Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image20Pop").height();
	var popupWidth = $("#image20Pop").width();
	//centering
	$("#image20Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage20Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image20Popup").click(function(){
		//centering with css
		centerPopupimage20Pop();
		//load popup
		loadPopupimage20Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image20PopClose").click(function(){
		disablePopupimage20Pop();
	});
	//Click out event!
	$("#popupBackgroundimage20Pop").click(function(){
		disablePopupimage20Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage20Pop();
		}
	});

});
// ------------------------------------------------------image21Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage21Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage21Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage21Pop").fadeIn("slow");
		$("#image21Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage21Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage21Pop").fadeOut("slow");
		$("#image21Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage21Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image21Pop").height();
	var popupWidth = $("#image21Pop").width();
	//centering
	$("#image21Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage21Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image21Popup").click(function(){
		//centering with css
		centerPopupimage21Pop();
		//load popup
		loadPopupimage21Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image21PopClose").click(function(){
		disablePopupimage21Pop();
	});
	//Click out event!
	$("#popupBackgroundimage21Pop").click(function(){
		disablePopupimage21Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage21Pop();
		}
	});

});
// ------------------------------------------------------image22Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage22Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage22Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage22Pop").fadeIn("slow");
		$("#image22Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage22Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage22Pop").fadeOut("slow");
		$("#image22Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage22Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image22Pop").height();
	var popupWidth = $("#image22Pop").width();
	//centering
	$("#image22Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage22Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image22Popup").click(function(){
		//centering with css
		centerPopupimage22Pop();
		//load popup
		loadPopupimage22Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image22PopClose").click(function(){
		disablePopupimage22Pop();
	});
	//Click out event!
	$("#popupBackgroundimage22Pop").click(function(){
		disablePopupimage22Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage22Pop();
		}
	});

});
// ------------------------------------------------------image23Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage23Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage23Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage23Pop").fadeIn("slow");
		$("#image23Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage23Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage23Pop").fadeOut("slow");
		$("#image23Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage23Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image23Pop").height();
	var popupWidth = $("#image23Pop").width();
	//centering
	$("#image23Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage23Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image23Popup").click(function(){
		//centering with css
		centerPopupimage23Pop();
		//load popup
		loadPopupimage23Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image23PopClose").click(function(){
		disablePopupimage23Pop();
	});
	//Click out event!
	$("#popupBackgroundimage23Pop").click(function(){
		disablePopupimage23Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage23Pop();
		}
	});

});
// ------------------------------------------------------image24Pop
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupimage24Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundimage24Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundimage24Pop").fadeIn("slow");
		$("#image24Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupimage24Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundimage24Pop").fadeOut("slow");
		$("#image24Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupimage24Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#image24Pop").height();
	var popupWidth = $("#image24Pop").width();
	//centering
	$("#image24Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundimage24Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".image24Popup").click(function(){
		//centering with css
		centerPopupimage24Pop();
		//load popup
		loadPopupimage24Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#image24PopClose").click(function(){
		disablePopupimage24Pop();
	});
	//Click out event!
	$("#popupBackgroundimage24Pop").click(function(){
		disablePopupimage24Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupimage24Pop();
		}
	});

});

// ------------------------------------------------------Golf Rates Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfRates01pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfRates01pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfRates01pop").fadeIn("slow");
		$("#golfRates01pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfRates01pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfRates01pop").fadeOut("slow");
		$("#golfRates01pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfRates01pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfRates01pop").height();
	var popupWidth = $("#golfRates01pop").width();
	//centering
	$("#golfRates01pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfRates01pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfRates01popup").click(function(){
		//centering with css
		centerPopupgolfRates01pop();
		//load popup
		loadPopupgolfRates01pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfRates01popClose").click(function(){
		disablePopupgolfRates01pop();
	});
	//Click out event!
	$("#popupBackgroundgolfRates01pop").click(function(){
		disablePopupgolfRates01pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfRates01pop();
		}
	});

});
// ------------------------------------------------------WINTER SEASON Rates Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfRatesWinter01pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfRatesWinter01pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfRatesWinter01pop").fadeIn("slow");
		$("#golfRatesWinter01pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfRatesWinter01pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfRatesWinter01pop").fadeOut("slow");
		$("#golfRatesWinter01pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfRatesWinter01pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfRatesWinter01pop").height();
	var popupWidth = $("#golfRatesWinter01pop").width();
	//centering
	$("#golfRatesWinter01pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfRatesWinter01pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfRatesWinter01popup").click(function(){
		//centering with css
		centerPopupgolfRatesWinter01pop();
		//load popup
		loadPopupgolfRatesWinter01pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfRatesWinter01popClose").click(function(){
		disablePopupgolfRatesWinter01pop();
	});
	//Click out event!
	$("#popupBackgroundgolfRatesWinter01pop").click(function(){
		disablePopupgolfRatesWinter01pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfRatesWinter01pop();
		}
	});

});

// ------------------------------------------------------PRE-HIGH SEASON Rates Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfRatesPreHigh01pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfRatesPreHigh01pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfRatesPreHigh01pop").fadeIn("slow");
		$("#golfRatesPreHigh01pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfRatesPreHigh01pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfRatesPreHigh01pop").fadeOut("slow");
		$("#golfRatesPreHigh01pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfRatesPreHigh01pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfRatesPreHigh01pop").height();
	var popupWidth = $("#golfRatesPreHigh01pop").width();
	//centering
	$("#golfRatesPreHigh01pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfRatesPreHigh01pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfRatesPreHigh01popup").click(function(){
		//centering with css
		centerPopupgolfRatesPreHigh01pop();
		//load popup
		loadPopupgolfRatesPreHigh01pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfRatesPreHigh01popClose").click(function(){
		disablePopupgolfRatesPreHigh01pop();
	});
	//Click out event!
	$("#popupBackgroundgolfRatesPreHigh01pop").click(function(){
		disablePopupgolfRatesPreHigh01pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfRatesPreHigh01pop();
		}
	});

});
// ------------------------------------------------------HIGH SEASON Rates Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfRatesHigh01pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfRatesHigh01pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfRatesHigh01pop").fadeIn("slow");
		$("#golfRatesHigh01pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfRatesHigh01pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfRatesHigh01pop").fadeOut("slow");
		$("#golfRatesHigh01pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfRatesHigh01pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfRatesHigh01pop").height();
	var popupWidth = $("#golfRatesHigh01pop").width();
	//centering
	$("#golfRatesHigh01pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfRatesHigh01pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfRatesHigh01popup").click(function(){
		//centering with css
		centerPopupgolfRatesHigh01pop();
		//load popup
		loadPopupgolfRatesHigh01pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfRatesHigh01popClose").click(function(){
		disablePopupgolfRatesHigh01pop();
	});
	//Click out event!
	$("#popupBackgroundgolfRatesHigh01pop").click(function(){
		disablePopupgolfRatesHigh01pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfRatesHigh01pop();
		}
	});

});

// ------------------------------------------------------GOLF IMAGE GALLERY Rates Popup
// ------------------------------------------------------Golf Image01 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage01Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage01Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage01Pop").fadeIn("slow");
		$("#golfImage01Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage01Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage01Pop").fadeOut("slow");
		$("#golfImage01Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage01Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage01Pop").height();
	var popupWidth = $("#golfImage01Pop").width();
	//centering
	$("#golfImage01Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage01Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage01Popup").click(function(){
		//centering with css
		centerPopupgolfImage01Pop();
		//load popup
		loadPopupgolfImage01Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage01PopClose").click(function(){
		disablePopupgolfImage01Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage01Pop").click(function(){
		disablePopupgolfImage01Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage01Pop();
		}
	});

});
// ------------------------------------------------------Golf Image02 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage02Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage02Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage02Pop").fadeIn("slow");
		$("#golfImage02Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage02Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage02Pop").fadeOut("slow");
		$("#golfImage02Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage02Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage02Pop").height();
	var popupWidth = $("#golfImage02Pop").width();
	//centering
	$("#golfImage02Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage02Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage02Popup").click(function(){
		//centering with css
		centerPopupgolfImage02Pop();
		//load popup
		loadPopupgolfImage02Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage02PopClose").click(function(){
		disablePopupgolfImage02Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage02Pop").click(function(){
		disablePopupgolfImage02Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage02Pop();
		}
	});

});
// ------------------------------------------------------Golf Image03 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage03Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage03Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage03Pop").fadeIn("slow");
		$("#golfImage03Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage03Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage03Pop").fadeOut("slow");
		$("#golfImage03Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage03Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage03Pop").height();
	var popupWidth = $("#golfImage03Pop").width();
	//centering
	$("#golfImage03Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage03Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage03Popup").click(function(){
		//centering with css
		centerPopupgolfImage03Pop();
		//load popup
		loadPopupgolfImage03Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage03PopClose").click(function(){
		disablePopupgolfImage03Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage03Pop").click(function(){
		disablePopupgolfImage03Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage03Pop();
		}
	});

});
// ------------------------------------------------------Golf Image04 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage04Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage04Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage04Pop").fadeIn("slow");
		$("#golfImage04Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage04Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage04Pop").fadeOut("slow");
		$("#golfImage04Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage04Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage04Pop").height();
	var popupWidth = $("#golfImage04Pop").width();
	//centering
	$("#golfImage04Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage04Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage04Popup").click(function(){
		//centering with css
		centerPopupgolfImage04Pop();
		//load popup
		loadPopupgolfImage04Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage04PopClose").click(function(){
		disablePopupgolfImage04Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage04Pop").click(function(){
		disablePopupgolfImage04Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage04Pop();
		}
	});

});
// ------------------------------------------------------Golf Image05 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage05Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage05Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage05Pop").fadeIn("slow");
		$("#golfImage05Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage05Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage05Pop").fadeOut("slow");
		$("#golfImage05Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage05Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage05Pop").height();
	var popupWidth = $("#golfImage05Pop").width();
	//centering
	$("#golfImage05Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage05Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage05Popup").click(function(){
		//centering with css
		centerPopupgolfImage05Pop();
		//load popup
		loadPopupgolfImage05Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage05PopClose").click(function(){
		disablePopupgolfImage05Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage05Pop").click(function(){
		disablePopupgolfImage05Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage05Pop();
		}
	});

});
// ------------------------------------------------------Golf Image06 Popup
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupgolfImage06Pop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundgolfImage06Pop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundgolfImage06Pop").fadeIn("slow");
		$("#golfImage06Pop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupgolfImage06Pop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundgolfImage06Pop").fadeOut("slow");
		$("#golfImage06Pop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupgolfImage06Pop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#golfImage06Pop").height();
	var popupWidth = $("#golfImage06Pop").width();
	//centering
	$("#golfImage06Pop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundgolfImage06Pop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".golfImage06Popup").click(function(){
		//centering with css
		centerPopupgolfImage06Pop();
		//load popup
		loadPopupgolfImage06Pop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#golfImage06PopClose").click(function(){
		disablePopupgolfImage06Pop();
	});
	//Click out event!
	$("#popupBackgroundgolfImage06Pop").click(function(){
		disablePopupgolfImage06Pop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupgolfImage06Pop();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 1
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole1OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole1OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole1OVRHD").fadeIn("slow");
		$("#hole1OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole1OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole1OVRHD").fadeOut("slow");
		$("#hole1OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole1OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole1OVRHD").height();
	var popupWidth = $("#hole1OVRHD").width();
	//centering
	$("#hole1OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole1OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole1OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole1OVRHD();
		//load popup
		loadPopuphole1OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole1OVRHDClose").click(function(){
		disablePopuphole1OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole1OVRHD").click(function(){
		disablePopuphole1OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole1OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 2
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole2OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole2OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole2OVRHD").fadeIn("slow");
		$("#hole2OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole2OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole2OVRHD").fadeOut("slow");
		$("#hole2OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole2OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole2OVRHD").height();
	var popupWidth = $("#hole2OVRHD").width();
	//centering
	$("#hole2OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole2OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole2OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole2OVRHD();
		//load popup
		loadPopuphole2OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole2OVRHDClose").click(function(){
		disablePopuphole2OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole2OVRHD").click(function(){
		disablePopuphole2OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole2OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 3
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole3OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole3OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole3OVRHD").fadeIn("slow");
		$("#hole3OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole3OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole3OVRHD").fadeOut("slow");
		$("#hole3OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole3OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole3OVRHD").height();
	var popupWidth = $("#hole3OVRHD").width();
	//centering
	$("#hole3OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole3OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole3OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole3OVRHD();
		//load popup
		loadPopuphole3OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole3OVRHDClose").click(function(){
		disablePopuphole3OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole3OVRHD").click(function(){
		disablePopuphole3OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole3OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 4
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole4OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole4OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole4OVRHD").fadeIn("slow");
		$("#hole4OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole4OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole4OVRHD").fadeOut("slow");
		$("#hole4OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole4OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole4OVRHD").height();
	var popupWidth = $("#hole4OVRHD").width();
	//centering
	$("#hole4OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole4OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole4OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole4OVRHD();
		//load popup
		loadPopuphole4OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole4OVRHDClose").click(function(){
		disablePopuphole4OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole4OVRHD").click(function(){
		disablePopuphole4OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole4OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 5
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole5OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole5OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole5OVRHD").fadeIn("slow");
		$("#hole5OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole5OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole5OVRHD").fadeOut("slow");
		$("#hole5OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole5OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole5OVRHD").height();
	var popupWidth = $("#hole5OVRHD").width();
	//centering
	$("#hole5OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole5OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole5OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole5OVRHD();
		//load popup
		loadPopuphole5OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole5OVRHDClose").click(function(){
		disablePopuphole5OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole5OVRHD").click(function(){
		disablePopuphole5OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole5OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 6
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole6OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole6OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole6OVRHD").fadeIn("slow");
		$("#hole6OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole6OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole6OVRHD").fadeOut("slow");
		$("#hole6OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole6OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole6OVRHD").height();
	var popupWidth = $("#hole6OVRHD").width();
	//centering
	$("#hole6OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole6OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole6OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole6OVRHD();
		//load popup
		loadPopuphole6OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole6OVRHDClose").click(function(){
		disablePopuphole6OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole6OVRHD").click(function(){
		disablePopuphole6OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole6OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 7
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole7OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole7OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole7OVRHD").fadeIn("slow");
		$("#hole7OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole7OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole7OVRHD").fadeOut("slow");
		$("#hole7OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole7OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole7OVRHD").height();
	var popupWidth = $("#hole7OVRHD").width();
	//centering
	$("#hole7OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole7OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole7OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole7OVRHD();
		//load popup
		loadPopuphole7OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole7OVRHDClose").click(function(){
		disablePopuphole7OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole7OVRHD").click(function(){
		disablePopuphole7OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole7OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 8
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole8OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole8OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole8OVRHD").fadeIn("slow");
		$("#hole8OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole8OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole8OVRHD").fadeOut("slow");
		$("#hole8OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole8OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole8OVRHD").height();
	var popupWidth = $("#hole8OVRHD").width();
	//centering
	$("#hole8OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole8OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole8OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole8OVRHD();
		//load popup
		loadPopuphole8OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole8OVRHDClose").click(function(){
		disablePopuphole8OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole8OVRHD").click(function(){
		disablePopuphole8OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole8OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 9
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole9OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole9OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole9OVRHD").fadeIn("slow");
		$("#hole9OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole9OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole9OVRHD").fadeOut("slow");
		$("#hole9OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole9OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole9OVRHD").height();
	var popupWidth = $("#hole9OVRHD").width();
	//centering
	$("#hole9OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole9OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole9OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole9OVRHD();
		//load popup
		loadPopuphole9OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole9OVRHDClose").click(function(){
		disablePopuphole9OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole9OVRHD").click(function(){
		disablePopuphole9OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole9OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 10
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole10OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole10OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole10OVRHD").fadeIn("slow");
		$("#hole10OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole10OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole10OVRHD").fadeOut("slow");
		$("#hole10OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole10OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole10OVRHD").height();
	var popupWidth = $("#hole10OVRHD").width();
	//centering
	$("#hole10OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole10OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole10OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole10OVRHD();
		//load popup
		loadPopuphole10OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole10OVRHDClose").click(function(){
		disablePopuphole10OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole10OVRHD").click(function(){
		disablePopuphole10OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole10OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 11
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole11OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole11OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole11OVRHD").fadeIn("slow");
		$("#hole11OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole11OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole11OVRHD").fadeOut("slow");
		$("#hole11OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole11OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole11OVRHD").height();
	var popupWidth = $("#hole11OVRHD").width();
	//centering
	$("#hole11OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole11OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole11OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole11OVRHD();
		//load popup
		loadPopuphole11OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole11OVRHDClose").click(function(){
		disablePopuphole11OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole11OVRHD").click(function(){
		disablePopuphole11OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole11OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 12
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole12OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole12OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole12OVRHD").fadeIn("slow");
		$("#hole12OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole12OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole12OVRHD").fadeOut("slow");
		$("#hole12OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole12OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole12OVRHD").height();
	var popupWidth = $("#hole12OVRHD").width();
	//centering
	$("#hole12OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole12OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole12OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole12OVRHD();
		//load popup
		loadPopuphole12OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole12OVRHDClose").click(function(){
		disablePopuphole12OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole12OVRHD").click(function(){
		disablePopuphole12OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole12OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 13
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole13OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole13OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole13OVRHD").fadeIn("slow");
		$("#hole13OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole13OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole13OVRHD").fadeOut("slow");
		$("#hole13OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole13OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole13OVRHD").height();
	var popupWidth = $("#hole13OVRHD").width();
	//centering
	$("#hole13OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole13OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole13OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole13OVRHD();
		//load popup
		loadPopuphole13OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole13OVRHDClose").click(function(){
		disablePopuphole13OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole13OVRHD").click(function(){
		disablePopuphole13OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole13OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 14
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole14OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole14OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole14OVRHD").fadeIn("slow");
		$("#hole14OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole14OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole14OVRHD").fadeOut("slow");
		$("#hole14OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole14OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole14OVRHD").height();
	var popupWidth = $("#hole14OVRHD").width();
	//centering
	$("#hole14OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole14OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole14OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole14OVRHD();
		//load popup
		loadPopuphole14OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole14OVRHDClose").click(function(){
		disablePopuphole14OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole14OVRHD").click(function(){
		disablePopuphole14OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole14OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 15
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole15OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole15OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole15OVRHD").fadeIn("slow");
		$("#hole15OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole15OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole15OVRHD").fadeOut("slow");
		$("#hole15OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole15OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole15OVRHD").height();
	var popupWidth = $("#hole15OVRHD").width();
	//centering
	$("#hole15OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole15OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole15OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole15OVRHD();
		//load popup
		loadPopuphole15OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole15OVRHDClose").click(function(){
		disablePopuphole15OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole15OVRHD").click(function(){
		disablePopuphole15OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole15OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 16
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole16OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole16OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole16OVRHD").fadeIn("slow");
		$("#hole16OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole16OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole16OVRHD").fadeOut("slow");
		$("#hole16OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole16OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole16OVRHD").height();
	var popupWidth = $("#hole16OVRHD").width();
	//centering
	$("#hole16OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole16OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole16OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole16OVRHD();
		//load popup
		loadPopuphole16OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole16OVRHDClose").click(function(){
		disablePopuphole16OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole16OVRHD").click(function(){
		disablePopuphole16OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole16OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 17
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole17OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole17OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole17OVRHD").fadeIn("slow");
		$("#hole17OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole17OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole17OVRHD").fadeOut("slow");
		$("#hole17OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole17OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole17OVRHD").height();
	var popupWidth = $("#hole17OVRHD").width();
	//centering
	$("#hole17OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole17OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole17OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole17OVRHD();
		//load popup
		loadPopuphole17OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole17OVRHDClose").click(function(){
		disablePopuphole17OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole17OVRHD").click(function(){
		disablePopuphole17OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole17OVRHD();
		}
	});

});
// ------------------------------------------------------OVERHEAD RENDERING HOLE 18
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopuphole18OVRHD(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundhole18OVRHD").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundhole18OVRHD").fadeIn("slow");
		$("#hole18OVRHD").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopuphole18OVRHD(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundhole18OVRHD").fadeOut("slow");
		$("#hole18OVRHD").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopuphole18OVRHD(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#hole18OVRHD").height();
	var popupWidth = $("#hole18OVRHD").width();
	//centering
	$("#hole18OVRHD").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundhole18OVRHD").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".hole18OVRHDPopup").click(function(){
		//centering with css
		centerPopuphole18OVRHD();
		//load popup
		loadPopuphole18OVRHD();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#hole18OVRHDClose").click(function(){
		disablePopuphole18OVRHD();
	});
	//Click out event!
	$("#popupBackgroundhole18OVRHD").click(function(){
		disablePopuphole18OVRHD();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopuphole18OVRHD();
		}
	});

});
// ------------------------------------------------------MAIN COURSE MAP POPUP
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupcourseMapPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundcourseMapPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundcourseMapPop").fadeIn("slow");
		$("#courseMapPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupcourseMapPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundcourseMapPop").fadeOut("slow");
		$("#courseMapPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupcourseMapPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#courseMapPop").height();
	var popupWidth = $("#courseMapPop").width();
	//centering
	$("#courseMapPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundcourseMapPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".courseMapPopup").click(function(){
		//centering with css
		centerPopupcourseMapPop();
		//load popup
		loadPopupcourseMapPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#courseMapPopClose").click(function(){
		disablePopupcourseMapPop();
	});
	//Click out event!
	$("#popupBackgroundcourseMapPop").click(function(){
		disablePopupcourseMapPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupcourseMapPop();
		}
	});

});
// ------------------------------------------------------WEDDING FORM POPUP
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupwedFormPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundwedFormPop").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundwedFormPop").fadeIn("slow");
		$("#wedFormPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupwedFormPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundwedFormPop").fadeOut("slow");
		$("#wedFormPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupwedFormPop(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#wedFormPop").height();
	var popupWidth = $("#wedFormPop").width();
	//centering
	$("#wedFormPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundwedFormPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".wedFormPopup").click(function(){
		//centering with css
		centerPopupwedFormPop();
		//load popup
		loadPopupwedFormPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#wedFormPopClose").click(function(){
		disablePopupwedFormPop();
	});
	//Click out event!
	$("#popupBackgroundwedFormPop").click(function(){
		disablePopupwedFormPop();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupwedFormPop();
		}
	});

});
// ------------------------------------------------------INVESTMENT INQUIRY FORM
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupinvestInqForm(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#popupBackgroundinvestInqForm").css({
			"opacity": "0.7"
		});
		$("#popupBackgroundinvestInqForm").fadeIn("slow");
		$("#investInqForm").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupinvestInqForm(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#popupBackgroundinvestInqForm").fadeOut("slow");
		$("#investInqForm").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupinvestInqForm(){
	//request data for centering
	var windowWidth = $(window).width();
	var windowHeight = $(document).height();
	var popupHeight = $("#investInqForm").height();
	var popupWidth = $("#investInqForm").width();
	//centering
	$("#investInqForm").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#popupBackgroundinvestInqForm").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$(".investInqFormPopup").click(function(){
		//centering with css
		centerPopupinvestInqForm();
		//load popup
		loadPopupinvestInqForm();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#investInqFormClose").click(function(){
		disablePopupinvestInqForm();
	});
	//Click out event!
	$("#popupBackgroundinvestInqForm").click(function(){
		disablePopupinvestInqForm();
	});
	//Press Escape event!
	$(document).keypress(function(e){
		if(e.keyCode==27 && popupStatus==1){
			disablePopupinvestInqForm();
		}
	});

});