$().ready(function(){
    // external urls
    $('a').click(function(){
	    if(this.href.match(/^http/i) && !this.href.match(location.host)){
		    window.open(this.href,'_');
		    return false;
	    }
	});
	if(location.href.match(/sign/i)){
		$('#name,#email').focus(function(){
			if(this.value.match('Enter your ')) this.value='';
		});
	}
    // ie pngs
	/*@cc_on
	if(navigator.appVersion.match(/MSIE [0-6]\./)){
		$('img[@src*=".png"]').addClass('png');
		$('input[@src*=".png"]').addClass('png');
		$('*').each(function(){
			if(this.currentStyle.backgroundImage != 'none' && this.currentStyle.backgroundImage.match(/\.png/)){
				var image = this.currentStyle.backgroundImage;
				image = this.currentStyle.backgroundImage.substring(5, image.length - 2);
				$(this).css({
					'backgroundImage': 'none',
					'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=image, src='" + image + "')"
				});
			}
		});
	}
	@*/
});