<!-- Begin SIDEBAR SIZES AND OPTIONS CODE
// ONLY USE lowercase FOR ALL OPTIONS
// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

var refUrl = window.location.href;
var refTit = document.title;
var surUrl = 'http://www.masteranalytics.com/rating/?c=' + '000001' + '&p=' + refUrl + '&t=' + refTit;

var winW = 700, winH = 500;

if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winW = window.innerWidth-16;
  winH = window.innerHeight-16;
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  winW = screen.availWidth-20;
  winH = document.body.offsetHeight-20;
 }
}

function dspCSP1(url,pWidth,pHeight)
{
	var width = pWidth;
    var height = pHeight;
	var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + 
        ",status,resizable,titlebar=no,left=" + left + ",top=" + top + 
        "screenX=" + left + ",screenY=" + top;
    myWindow = window.open(url, "subWind", windowFeatures);
	
   // myWindow = window.open(url, "subWind", windowFeatures);
	//mypopup = window.open(url,'PopupWindow','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + pWidth + ',height=' + pHeight + 'left=' + winX + ',top=' + winY); 
	//mypopup.window.moveTo(winX, winY);
	//window.resizeTo(pWidth,pHeight)
}

function dspRating(){
//document.write('<!--[if lt IE 7]><scrip' + 't src="/SYSTEM/displayScr/ie7fixed.js" type="text/javascript"></scr' + 'ipt><![endif]-->');
document.write('<sc' + 'ri' + 'pt type="text/ja' + 'vascr'+'ipt" src="/SYSTEM/displayScr/fixed.js"></s'+ 'cript>');
document.write('<div id="rating_st" style="position:fixed;bottom:5em;right:50px;width:55px;height:33px;vertical-align:bottom;text-align:right;padding:0;" >');
document.write('<a ');
document.write('onMouseOver="document.MyImage.src=\'/DATA/1000015/image/rate_bars1over.gif\';"');
document.write('onMouseOut="document.MyImage.src=\'/DATA/1000015/image/rate_bars1.gif\';"');
document.write('onClick="document.getElementById(\'rating_st\').style.visibility=\'hidden\'; dspCSP1(\'' + surUrl + '\',\'300\',\'200\'); return false;" ');
//document.write('href="http://demo.internetwerke.com/rating/?c=000001');
//document.write('&p=' + refUrl + '" >');
document.write(surUrl + '" >');
//document.write('href="#" >');
document.write('<img src="/DATA/1000015/image/rate_bars1.gif" name="MyImage" />');
document.write('</a>');
document.write('</div>');
}
//  End -->
