/*@cc_on @*/
/*@if (@_win32)
document.execCommand('BackgroundImageCache', false, true);
/*@end @*/
$(document).ready(function() {
    $(".focusinput").blur(function(){
    if($(this).attr('value') == '' || $(this).attr('value') == null)
        {
            var dom = ($(this).get())[0];
            $(this).attr('value', dom.defaultValue);
            $(this).css("color","#b1b1b1");
        }
    });

    $(".focusinput").focus(function(){
    var dom = ($(this).get())[0];
    if($(this).attr('value') == dom.defaultValue)
        {
            $(this).attr('value',  "");
            $(this).css("color","#000000");
        }
    });

	$(".search-box").focus(function() {
	    if (this.value == "Enter keyword") {
		    this.value = "";
	    }
	});
    $(".search-box").blur(function() {
	    if (this.value == "") {
		    this.value = "Enter keyword";
	    }
	});

});

function displayhelp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, 'helppopup', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=150');");
}

function newWin(URL) {
 params  = 'width='+screen.width;
 params += ', height='+screen.height;
 params += ', top=0, left=0';
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=no';
 params += ', status=no';
 params += ', toolbar=no';
 params += ', fullscreen=yes';
 

 newwin=window.open(URL,'windowname', params);
 if (window.focus) {newwin.focus()}
}
