// source: Michael Imstepf
// date: 27/01/2008
// purpose: show elements when JS is enabled and noscript is not processed
// dependencies: screen.css, (jquery.innerfade.js)

// due to a Safari issue, body if JS is enabled (for showing body after all elements are loaded using body onload) can only be hidden using a seperate stylesheet and not using document.body.style.visibility
document.write("<link rel='stylesheet' href='../html/style/screen/hideBodyIfJSEnabled.css' type='text/css' media='screen' />");

$(document).ready(function(){ // This sets the opacity of the thumbs to fade down to 60% when the page loads (value for fast is set in jquery-1.2.1.min.js)
	
if (document.getElementById("portfolio")) {


document.getElementById("viewPDF").style.display = "inline";
//document.getElementById("wrongLineHeight").style.display = "inline";
document.getElementById("thumbnails").style.display = "block";
document.getElementById("swapImage").style.display = "block";

/* loading.gif creates problems when displaying non-preloaded images in galleries in IE8, needs to hidden by JS to override showElementsWhenJSEnabled.js */
if(!($.browser.msie)){
document.getElementById("loadingImage").style.display = "block";
}

$(".browse").css({'visibility' : 'visible'});




}
//}
});

//addOnLoadEvent(showElementsWhenJSEnabled);


