ie6 = ((document.all)&&(navigator.appVersion.indexOf('MSIE 6.')!=-1)) ? true : false;

if(ie6){
	
	//Actions attached in the specific ie6 js file
	
} else {

	function matchHeight() {
		var finalHeight = document.getElementById('container').offsetHeight - document.getElementById('header').offsetHeight - document.getElementById('footer').offsetHeight;
		var mainElement = document.getElementById('main');
		
		/* IE7 support when page expands */
		if(document.getElementById('details')) {
			finalHeight = finalHeight + 200 + 'px';
		} else {
			// Height for the rest of browsers
			mainElement.style.height = finalHeight + 'px';
		}
		
	}
	window.onload = function() {
		matchHeight();
	}
	window.onresize = function() {
		matchHeight();
	}
}
function showImage(imgsource){
	src=imgsource.attr("rel");
	hr=imgsource.attr("rev");
	$("#productimg a img").attr("src", src);
	$("#productimg a").attr("href", hr);
}
function showPic(imgsource){
	$('#photoshop a').removeClass("current");
	src=imgsource.attr("rel");
	imgsource.addClass("current");
	$("#pics img").attr("src", src);
}
	
	


