// JavaScript Document
function view_feedback(language) {
	var jo=$("<div id='blocker' class='blockui'></div>").prependTo(document.body);
	var offset;
	if ($.browser.msie) {
		offset=$('body').attr('scrollTop');
	} else {
		offset=$(window).attr('scrollY');
	}
	var jvb=$('<div id="feedback_box" style="position: absolute; top: '+(100+parseInt(offset))+'px; z-index: 130;"></div>').prependTo(document.body);
	
	jo.css('height', $(document).height()+'px');
  
    //  Set the Overlay to 100% height/width, and fix-position it via JS workaround
    var ie6=$.browser.msie&&($.browser.version == "6.0");
    if(ie6 && $('html,body').css({height:'100%',width:'100%'}) && jo){
      var o=jo.css({position:'absolute'})[0];
      for(var y in {Top:1,Left:1}) 
         o.style.setExpression(y.toLowerCase(),"(_=(document.documentElement.scroll"+y+" || document.body.scroll"+y+"))+'px'");
    }
	$.getScript("/feedback/feedback_script.js", function(){
      $("#feedback_box").load("/feedback/", {language: language}, function(){});
    });
	
  return false;
}
