jQuery(document).ready(function(){
	jQuery("#LoginURL").attr('href', jQuery("#LoginURL").attr('href') + '?Framed=1' );
	jQuery("#LoginURL").colorbox({width:"60%", height:"50%", iframe:true});
	
	jQuery().bind('cbox_closed', function(){
		if(typeof(MemberPage) != "undefined"){
			window.location = MemberPage;		
		}else{
	        window.location.reload(true);
		}
	});
});