	  $(document).ready(function(){
		$(".wh1 h3, .wh1 h4, .wh1 h5").click(function () {			
			$(".active-1").removeClass("active-1");			
			$(this).addClass("active-1");
			$(".box-1").slideUp();
			var content_show = $(this).attr("title");
			$("#"+content_show).slideDown();
		});
	  });
	  
	  $(document).ready(function(){
		$(".wh2 h3, .wh2 h4, .wh2 h5").click(function () {			
			$(".active-2").removeClass("active-2");			
			$(this).addClass("active-2");
			$(".box-2").slideUp();
			var content_show = $(this).attr("title");
			$("#"+content_show).slideDown();
		});
	  });
	  
	  $(document).ready(function(){
		$(".wh3 h3, .wh3 h4, .wh3 h5").click(function () {			
			$(".active-3").removeClass("active-3");			
			$(this).addClass("active-3");
			$(".box-3").slideUp();
			var content_show = $(this).attr("title");
			$("#"+content_show).slideDown();
		});
	  });

	
	sfHover = function() {
	var sfEls = document.getElementById("top-menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


sfHover2 = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfHover2";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfHover2\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover2);

// Get viewport width
var viewportwidth;
var viewportheight;
 
 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 
 if (typeof window.innerWidth != 'undefined')
 {
      viewportwidth = window.innerWidth,
      viewportheight = window.innerHeight
 }
 
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

 else if (typeof document.documentElement != 'undefined'
     && typeof document.documentElement.clientWidth !=
     'undefined' && document.documentElement.clientWidth != 0)
 {
       viewportwidth = document.documentElement.clientWidth,
       viewportheight = document.documentElement.clientHeight
 }
 
 // older versions of IE
 
 else
 {
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth,
       viewportheight = document.getElementsByTagName('body')[0].clientHeight
 }

if (viewportwidth < 1100) {
	$(function() {
            $("#postvote").hide();
    });
}
