var GB_DONE = false;
var GB_HEIGHT = 400;
var GB_WIDTH = 400;
function GB_show(height, width) {
GB_HEIGHT = height || 400;
GB_WIDTH = width || 400;
if(!GB_DONE) {
//$("#GB_overlay #GB_container img").click(GB_hide);
//$("#GB_overlay").click(GB_hide_warn);
//$(window).resize(GB_position);
GB_position();
GB_DONE = true;
}
//$("#GB_caption").html(caption);
//$("#GB_overlay").show();
document.getElementById("GB_overlay").style.display="block";
GB_position();
if(GB_ANIMATION) {
//$("#GB_container").slideDown("slow");
document.getElementById("GB_container").style.display="block";
}
else {
//$("#GB_window").show();
//$("#GB_container").show();
document.getElementById("GB_window").style.display="none";
document.getElementById("GB_container").style.display="none";
}
}
function GB_hide() {
//$("#GB_overlay, #GB_container").hide();
document.getElementById("GB_overlay").style.display="none";
document.getElementById("GB_container").style.display="none";
}
function GB_hide_warn() {
var agree = confirm('Are you sure you wish to close this window?');
if(agree) {
$("#GB_container,#GB_overlay").hide();
} else {
return false;
}
}
function GB_position() {
var de = document.documentElement;
var w = self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
//$("#GB_window").css({width:GB_WIDTH+"px",height:GB_HEIGHT+"px", left: ((w - GB_WIDTH)/2)+"px" });
document.getElementById("GB_window").style.width=GB_WIDTH+"px";
document.getElementById("GB_window").style.height=GB_HEIGHT+"px";
document.getElementById("GB_window").style.left=((w - GB_WIDTH)/2)+"px";
//$("#GB_frame").css("height",GB_HEIGHT - 32 +"px");
document.getElementById("GB_frame").style.height=GB_HEIGHT - 32 +"px";
}
var GB_ANIMATION = true;
function greybox_click() {
GB_show(470,600);
return false;
}
var IE6 = /msie|MSIE 6/.test(navigator.userAgent);
// document.write('Couples Secret Rendezvous
');
if(IE6 == true) {
document.write('
');
} else {
document.write('');
document.write('