$(function(){
	
	try{
		$("#continue").attr("disabled", "disabled");
		
		var $box = $("#scrollbox"),
			$inner = $("> .inner", $box),
			innerOuterHeight = $inner.outerHeight();
			boxHeight = $box.height();
			boxOffsetTop = $box.offset().top;
	
		$("#scrollbox").scroll(function(){
			if ( Math.ceil(boxHeight - $inner.offset().top + boxOffsetTop) >= innerOuterHeight ) {
				$("#continue").removeAttr("disabled");
			}
		});
	}catch(e){}
	
	try{
		if($.browser.msie && $.browser.version < 7){
			//$.ifixpng("/global/images/pixel.gif");
			//$("img[src$=png]").ifixpng();
			DD_belatedPNG.fix("img");
		}
		$("a[rel=external]").attr({title:"Opens in new window", target:"_blank"});
		$("#left").roundcorners({radius:10, bottomleft:false, bottomright:false});
	}catch(e){}
	
});