var browserName = BrowserDetect.browser;
var browserVersion = BrowserDetect.version;
var browserOS = BrowserDetect.OS;
var GB_ANIMATION = true;

function chat(url) {eval('window.open(url,"","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width=500,height=500")')}
function view(url) {eval('window.open(url,"","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=400,height=520,left=220,top=212")')}
function includeJavascript(jsFile) {document.write('<script language="javascript" type="text/javascript" src="' + jsFile + '"></script>');}
$(document).ready(function() {
	$('#javascriptdisabled').remove();$('#mainmenu').corner("top 10px");$("img[@src$=png]").pngfix();$('div.gradientcorner').corner("round 6px");$('div.cornered').corner("round 7px");
	$('div.corneredgradient').corner("round 6px");$('div.testimonial_bubble').corner("round 7px");$('div.contentfooter').corner("bottom 10px");$('#pulldowncontainer').hide();	
	$('#pull_tab').click(function() {if (toggle_status == "hidden") {toggle_status = "shown";$('#pulldowncontainer').slideDown('slow');$('img#pull_tab').attr("src","images/pullup_tab.gif"); } else {toggle_status = "hidden";	$('#pulldowncontainer').slideUp('slow'); $('img#pull_tab').attr("src","images/pulldown_tab.gif"); } return false; });
	$('li.pulldownmenucost').hover(function () {$(this).append($('<span style="color:#FFCC00" class="dotlinewhite"> order now</span>'));}, function () {$(this).find("span:last").remove();});
    $("a.greybox").click(function(){var t = this.title || $(this).text() || this.href;if (browserName == "Firefox") GB_show(t,this.href,345,350); else  GB_show(t,this.href,385,350); return false; });
    $("a.greybox_revision").click(function(){var t = this.title || $(this).text() || this.href;if (browserName == "Firefox") GB_show(t,this.href,370,400); else  GB_show(t,this.href,410,400); return false; });
    $("a.grey_resume").click(function(){var t = this.title || $(this).text() || this.href;if (browserName == "Firefox") GB_show(t,this.href,345,350); else  GB_show(t,this.href,385,350); return false;	});
    $("a.grey_package").click(function(){var t = this.title || $(this).text() || this.href; if (browserName == "Firefox") GB_show(t,this.href,345,350); else  GB_show(t,this.href,385,350); return false; });
	$('#btn_favorites').jFav();
	$('.btn_favorites').jFav(); 
	$('.lightbox').lightbox();
});

