/* 
   some simple javascript things just for VR
*/
jQuery.noConflict();

jQuery(document).ready( function ($){

	var top = $("#main").position().top;
	var bottom = $("#footer").position().top;
	if(navigator.appVersion.indexOf("MSIE 7")>-1){
		$(".navWrapperClass").height(bottom - top );
	} else {
		$(".navWrapperClass").height(bottom - top);
	}
	
	$("input.button").hover(
		function(){
			$(this).addClass("over");
		},
		function(){
			$(this).removeClass("over");
		});
	return;



	var col3 = $("#col3").outerHeight() + $("#col3").position().top;
	
	if( $("#col2").position()){
		var col2 = $("#col2").outerHeight() + $("#col").position().top;
	} else {
		var col2 = col3;
	}
		
	var col1 = $("#col1").outerHeight() + $("#col1").position().top;
	var h = Math.max( col1, Math.max( col2, col3 ));
//	if( h == col1 ) return;
//	$("#col3").height(h);
//	$("#col2").height(h);
	$("#col1_content").height(h - $("#col1_content").position().top);
//	$("#col1_content").height(h);

	$(".navWrapperClass").height(h - $("#col1_content").position().top - 22);
/*
	if(navigator.appVersion.indexOf("MSIE 8")>-1){
		$(".navWrapperClass").height(h - $("#col1_content").position().top - 22);
//		$("#main").height(h - $("#main").position().top);
	} else {
		$(".navWrapperClass").height(h - $("#col1_content").position().top - 22);
//		$("#main").height(h - $("#main").position().top);
	}
*/
//	$("col3").offset(0,0);
});
