(function () {
	var head = document.getElementsByTagName("head")[0];
	if (head) {
		var scriptStyles = document.createElement("style");
		var cssCode = ".contentHidden {display: none;}";
		scriptStyles.type = "text/css";
		if (scriptStyles.styleSheet) {
    		scriptStyles.styleSheet.cssText = cssCode;
  		} else {
   			scriptStyles.appendChild(document.createTextNode(cssCode));
  		}
  		head.appendChild(scriptStyles);

//		var scriptStyles = document.createElement("link");
//		scriptStyles.rel = "stylesheet";
//		scriptStyles.type = "text/css";
//		scriptStyles.href = "http://s.burn.com.au/java/infoStyles.css";
//		head.appendChild(scriptStyles);

//		document.getElementById("xproductInfo").innerHTML = "...More";
//		document.getElementById("xproductReviews").innerHTML = "...More";
	}
	
}());

//window.onload=function() { limitShow('main'); limitShow('main2'); };

function showElement( item, display ) {
	var obj = document.getElementById(item);
	var col = document.getElementById("x" + item);
	display = ( display == "block" ) ? "block" : "inline";
	if(obj != null) { 
		if (obj.style.display != display) {
			obj.style.display = display;// show the main text
			if(col != null ) col.innerHTML = "...Less"; // change the text of the link
		} else {
			obj.style.display = "none"; // hide the main text
//			col.innerHTML = "...More"; // change the text of the link
		}
	}
}
