
function ClearInput(target, defaultval){
	if(target.value == defaultval){
		target.value = "";
		//target.style.color = "#00A2E0";
	}
}

function ReplaceInputPrompt(target,defaultval){
	if(target.value == ""){
		target.value = defaultval;
		//target.style.color = "#B7B7B7";
	}
}


window.addEvent('domready', function() {

    $$('a.open-new-win').addEvents({
        'click':function(){
	        window.open(this.href);
	        return false;
        },
        'keypress':function(){
	        window.open(this.href);
	        return false;
        }
    });

});
