<!--//--><![CDATA[//><!-- 
function callTargetBlank() {
	var elements = getElementsByClassName('newWindow')
  	for (i = 0; i < elements.length; i++) {
      elements[i].setAttribute('target', '_blank');
  }
}
//--><!]]>

function getElementsByClassName(classname, node)  {
    if(!node) node = document.getElementsByTagName("body")[0];
    var a = [];
    var re = new RegExp('\\b' + classname + '\\b');
    var els = node.getElementsByTagName("*");
    for(var i=0,j=els.length; i<j; i++)
        if(re.test(els[i].className))a.push(els[i]);
    return a;
}

function popupWindowNoScroll(url,name,width,height) {
	newwindow4 = window.open(url,name, "width="+width+",height="+height+",toolbar=0,directories=0,menubar=0,status=0,resizable=0,location=0,scrollbars=0,copyhistory=0,left=100,top=100");
	newwindow4.focus();
}

function popupWindow(url,name,width,height) {
	newwindow = window.open(url,name, "width="+width+",height="+height+",toolbar=0,directories=0,menubar=0,status=0,resizable=1,location=0,scrollbars=1,copyhistory=0,left=162,top=200");
	newwindow.window.focus();
}