var GB_greyboxheight=160;var GB_greyboxwidth=390;var GB_padding=20;var GB_buttonWidth=165;var GB_whitewash=null;var GB_greybox=null;var GB_path="images/members";var GB_pathcommon="images/members_common";var GB_imageLoadedCount=0;var GB_iterations=0;var GB_whitewashBackgroundColor="#FFFFFF";var GB_greyboxBackgroundColor="#E6E6E6";var GB_greyboxBorderColor="#B4B4B4";var GB_greyboxFontColor="#545454";var GB_greyboxFontFamily="Verdana";var GB_greyboxFontSize="10px"
var GB_greyboxLineHeight="14px"
var GB_greyboxButtonFontSize="11px"
var GB_greyboxFullPath=""
var GB_greyboxXOffset=0;var GB_greyboxYOffset=0;function GB_ImageLoaded(){GB_imageLoadedCount=GB_imageLoadedCount+1;};function GB_Create(){if(GB_whitewash==null){var $a=null;var $b=null;$a=document.createElement("img");$a.onload=function(){GB_ImageLoaded();};$a.src=GB_greyboxFullPath+GB_pathcommon+"/gb_cross.gif";$b=document.createElement("img");$b.onload=function(){GB_ImageLoaded();};$b.src=GB_greyboxFullPath+GB_path+"/1x52-grad-btn.gif";GB_whitewash=document.createElement("div");GB_whitewash.className="GB_whitewash";GB_whitewash.id="GB_whitewash";GB_whitewash.style.visibility="hidden";GB_whitewash.style.display="none";GB_whitewash.style.zIndex=-10000;GB_whitewash.style.backgroundColor=GB_whitewashBackgroundColor;GB_whitewash.style.width="100%";GB_whitewash.style.height="100%";GB_whitewash.style.position="absolute";GB_whitewash.style.left="0px";GB_whitewash.style.top="0px";if(GB_GetBrowser()=="IE"){GB_whitewash.style.filter="alpha(opacity=60)";}else{GB_whitewash.style.opacity="0.6";};GB_AddObjectToBody(GB_whitewash);};if(GB_greybox==null){GB_greybox=document.createElement("div");GB_greybox.className="GB_greybox";GB_greybox.style.width=GB_greyboxwidth;GB_greybox.id="GB_greybox";GB_greybox.style.top="0px";GB_greybox.style.left="0px";GB_greybox.style.backgroundColor=GB_greyboxBackgroundColor;GB_greybox.style.border="1px solid "+GB_greyboxBorderColor;GB_greybox.style.position="absolute";GB_greybox.style.visibility="hidden";GB_greybox.style.lineHeight=GB_greyboxLineHeight;GB_greybox.style.display="none";GB_greybox.style.fontFamily=GB_greyboxFontFamily;GB_greybox.style.fontSize=GB_greyboxFontSize;GB_AddObjectToBody(GB_greybox);}};function GB_AddObjectToBody($c){var $d=document.getElementById("GB_DIV");$d.appendChild($c);};function GB_Show(){if(GB_imageLoadedCount<2&&GB_iterations<10){GB_iterations=GB_iterations+1;setTimeout("GB_Show()",200);return;};GB_Create();window.onresize=function(e){GB_SetPos();};window.onscroll=function(e){GB_SetPos();};window.onmaximize=function(e){GB_SetPos();};GB_whitewash.style.zIndex=1002;GB_greybox.style.zIndex=1003;GB_greybox.style.visibility="visible";GB_greybox.style.display="block";GB_whitewash.style.visibility="visible";GB_whitewash.style.display="block";GB_greyboxheight=GB_greybox.offsetHeight;GB_SetPos();};function GB_SetPos(){var width;var height;if(GB_GetBrowser()=="IE"){width=GB_greyboxwidth;height=GB_greyboxheight;}else{width=GB_greyboxwidth-(GB_padding*2);height=GB_greyboxheight;};var $e=typeof(document.documentElement.clientHeight)=='number'?document.documentElement.clientHeight:0;if(0===$e){$e=document.body.clientHeight;}else{$e=window.innerHeight;};var $f=typeof(document.documentElement.scrollTop)=='number'?document.documentElement.scrollTop:0;if(0===$f){$f=document.body.scrollTop;};var $g=document.body.clientWidth;var l=($g/ 2)-(width/ 2)+document.body.scrollLeft;var t=($e/ 2)-(height/ 2)+$f;GB_greybox.style.left=l+GB_greyboxYOffset+"px";GB_greybox.style.top=t+GB_greyboxXOffset+"px";GB_whitewash.style.height=document.body.scrollHeight+"px";GB_whitewash.style.width=document.body.scrollWidth+"px";};function GB_Hide($h){if(GB_greybox!=null){GB_greybox.style.zIndex=-1000;GB_greybox.style.visibility="hidden";GB_greybox.style.display="none";};if(GB_whitewash!=null){if($h==true||typeof($h)=="undefined"){GB_whitewash.style.zIndex=-1001;GB_whitewash.style.visibility="hidden";GB_whitewash.style.display="none";}}};function GB_SetText($i,id){GB_Create();GB_ClearText(id);var $j=((id!=='undefined')&&(id!==null))?"GB_text"+id:"GB_text";var $k=document.getElementById($j);$k.innerHTML=$i;};function GB_AppendText($i,id){GB_Create();var $j=((id!=='undefined')&&(id!==null))?"GB_text"+id:"GB_text";var $k=document.getElementById($j);$k.innerHTML=$k.innerHTML+$i;};function GB_ClearText(id){GB_Create();var $j=((id!=='undefined')&&(id!==null))?"GB_text"+id:"GB_text";var $k=document.getElementById($j);if($k==null){$k=document.createElement("div");$k.className="GB_text";$k.style.paddingLeft=GB_padding+"px";$k.style.paddingRight=GB_padding+"px";$k.style.paddingTop="3px";$k.style.paddingBottom="13px";$k.style.color=GB_greyboxFontColor;$k.id=$j;GB_greybox.appendChild($k);};$k.innerHTML="";};function GB_SetCloseButton($l){GB_Create();var $m=document.createElement("div");$m.style.textAlign="right";GB_greybox.appendChild($m);var $n=document.createElement("a");$n.onclick=function(){eval($l)};$n.style.cursor="pointer";$m.appendChild($n);var $o=document.createElement("img");$o.src=GB_greyboxFullPath+GB_pathcommon+"/gb_cross.gif";$o.className="GB_cross";$o.onmouseover=function(){if(GB_GetBrowser()=="IE"){this.style.filter="alpha(opacity=20)";}else{this.style.opacity="0.2";}};$o.onmouseout=function(){if(GB_GetBrowser()=="IE"){this.style.filter="alpha(opacity=100)";}else{this.style.opacity="1";}};$n.appendChild($o);};function GB_GetButton($i,$l){var $p=document.createElement("a");$p.className="GB_button";$p.href="#";$p.onclick=function(){eval($l)};$p.title=$i;$p.style.color="#FFFFFF";$p.style.fontWeight="bold";$p.style.paddingTop="4px";$p.style.paddingBottom="5px";$p.style.display="block";$p.style.textDecoration="none";$p.style.width="100%";$p.style.textAlign="center";$p.style.border="1px solid #145C41";$p.style.fontFamily=GB_greyboxFontFamily;$p.style.fontSize=GB_greyboxButtonFontSize;$p.onmouseover=function(){this.style.textDecoration="none";};$p.innerHTML=$i;$p.style.backgroundColor="666666";$p.style.backgroundImage="url('"+GB_greyboxFullPath+GB_path+"/1x52-grad-btn.gif')";$p.style.backgroundRepeat="repeat-x";$p.style.backgroundPosition="top left";$p.style.width=GB_buttonWidth;$p.onmouseover=function(){this.style.backgroundPosition="bottom left";};$p.onmouseout=function(){this.style.backgroundPosition="top left";};return $p;};function GB_GetBrowser(){var $q=navigator.userAgent.toLowerCase();if($q.indexOf("opera")!=-1){return 'OPERA';}else if($q.indexOf("netscape")!=-1){if($q.indexOf("msie")!=-1){return 'IE';}else{return 'NETSCAPE';}}else if($q.indexOf("firefox")!=-1){return 'FIREFOX';}else if($q.indexOf("safari")!=-1){return 'SAFARI';}else if($q.indexOf("chrome")!=-1){return 'CHROME';}else if($q.indexOf("msie")!=-1){return 'IE';}else{return 'IE*';}};function GB_Create1Button($r,$s,$i,$t,$u,$v){GB_Create();GB_greybox.innerHTML="";GB_SetCloseButton($u);GB_SetText($i);var $w=document.createElement("div");$w.id="GB_buttons";$w.align="center";$w.style.paddingBottom=GB_padding+"px";$w.appendChild(GB_GetButton($r,$s));GB_greybox.appendChild($w);if((typeof $v!=='undefined')&&($v!==null)&&($v.length>0)){GB_SetText($v,"1")};if($t){GB_Show();}};function GB_Create2Buttons($r,$s,$x,$u,$i,$t,$y,$v){GB_Create();GB_greybox.innerHTML="";GB_SetCloseButton($y);GB_SetText($i);var $w=document.createElement("div");$w.id="GB_buttons";$w.className="GB_text";$w.style.paddingBottom=Number(GB_padding-1)+"px";var $z=document.createElement("table");$z.border="0";$z.align="center";$z.cellPadding=0;$z.cellSpacing=0;$w.appendChild($z);var $A=document.createElement("tbody");$z.appendChild($A);var tr=document.createElement("tr");$A.appendChild(tr);var td=document.createElement("td");td.width=GB_buttonWidth;td.appendChild(GB_GetButton($r,$s));tr.appendChild(td);td=document.createElement("td");td.width=GB_greyboxwidth-(GB_buttonWidth*2)-(GB_padding*2);tr.appendChild(td);td=document.createElement("td");td.align="right";td.width=GB_buttonWidth;td.appendChild(GB_GetButton($x,$u));tr.appendChild(td);GB_greybox.appendChild($w);if((typeof $v!=='undefined')&&($v!==null)&&($v.length>0)){GB_SetText($v,"1")};if($t){GB_Show();}};function GB_CreateNoButtons($i,$t,$s){GB_Create();GB_greybox.innerHTML="";GB_SetCloseButton($s);GB_SetText($i);if($t){GB_Show();}};function GetGBVer(){return 'Greybox_vA003cr';};


