﻿
//---------------------------------------------------------------
// Copyright (C) 2007-2009 Big Blue Q LLC.  All rights reserved.
//---------------------------------------------------------------
function Qbrowser(){this.searchString=function(data){for(var i=0;i<data.length;i++){var dataString=data[i].string;var dataProp=data[i].prop;this.versionSearchString=data[i].versionSearch||data[i].identity;if(dataString){if(dataString.indexOf(data[i].subString)!= -1)return data[i].identity;}else if(dataProp)return data[i].identity;}};this.searchVersion=function(dataString){var index=dataString.indexOf(this.versionSearchString);if(index== -1)return;return parseFloat(dataString.substring(index+this.versionSearchString.length+1));};this.dataBrowser=[{string:navigator.userAgent,subString:"iPhone",identity:"iPhone"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}];this.dataOS=[{string:navigator.userAgent,subString:"iPhone",identity:"iPhone"},{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}];this.browser=this.searchString(this.dataBrowser)||"[unknown]";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"[unknown]";this.OS=this.searchString(this.dataOS)||"[unknown]";};function Qbase(){this.isLoadedPage=false;this.isLoadedAll=false;this.b=new Qbrowser();this.p=new Object();this.h=new Object();this.f=new Object();this.m=new Object();this.o=new Object();this.ds=new Object();this.du=new Object();this.fo=new Object();this.cp=new Object();this.mp=new Object();this.pp=new Object();this.tm=new Object();this.u=new Object();this.u.fu=new Object();this.html=new Object();this.async=new Object();this.dd=new Object();this.cx=new Object();this.isArray=function(o){return!(o.constructor.toString().indexOf("Array")== -1);};this.html.encode=function(textToEncode){var div=document.createElement('div');var textNode=document.createTextNode(textToEncode);div.appendChild(textNode);return div.innerHTML;};this.html.decode=function(s){var out="";if(s==null)return;var l=s.length;for(var i=0;i<l;i++){var ch=s.charAt(i);if(ch=='&'){var semicolonIndex=s.indexOf(';',i+1);if(semicolonIndex>0){var entity=s.substring(i+1,semicolonIndex);if(entity.length>1&&entity.charAt(0)=='#'){if(entity.charAt(1)=='x'||entity.charAt(1)=='X')ch=String.fromCharCode(eval('0'+entity.substring(1)));else ch=String.fromCharCode(eval(entity.substring(1)));}else{switch(entity){case 'quot':ch=String.fromCharCode(0x0022);break;case 'amp':ch=String.fromCharCode(0x0026);break;case 'lt':ch=String.fromCharCode(0x003c);break;case 'gt':ch=String.fromCharCode(0x003e);break;case 'nbsp':ch=String.fromCharCode(0x00a0);break;case 'iexcl':ch=String.fromCharCode(0x00a1);break;case 'cent':ch=String.fromCharCode(0x00a2);break;case 'pound':ch=String.fromCharCode(0x00a3);break;case 'curren':ch=String.fromCharCode(0x00a4);break;case 'yen':ch=String.fromCharCode(0x00a5);break;case 'brvbar':ch=String.fromCharCode(0x00a6);break;case 'sect':ch=String.fromCharCode(0x00a7);break;case 'uml':ch=String.fromCharCode(0x00a8);break;case 'copy':ch=String.fromCharCode(0x00a9);break;case 'ordf':ch=String.fromCharCode(0x00aa);break;case 'laquo':ch=String.fromCharCode(0x00ab);break;case 'not':ch=String.fromCharCode(0x00ac);break;case 'shy':ch=String.fromCharCode(0x00ad);break;case 'reg':ch=String.fromCharCode(0x00ae);break;case 'macr':ch=String.fromCharCode(0x00af);break;case 'deg':ch=String.fromCharCode(0x00b0);break;case 'plusmn':ch=String.fromCharCode(0x00b1);break;case 'sup2':ch=String.fromCharCode(0x00b2);break;case 'sup3':ch=String.fromCharCode(0x00b3);break;case 'acute':ch=String.fromCharCode(0x00b4);break;case 'micro':ch=String.fromCharCode(0x00b5);break;case 'para':ch=String.fromCharCode(0x00b6);break;case 'middot':ch=String.fromCharCode(0x00b7);break;case 'cedil':ch=String.fromCharCode(0x00b8);break;case 'sup1':ch=String.fromCharCode(0x00b9);break;case 'ordm':ch=String.fromCharCode(0x00ba);break;case 'raquo':ch=String.fromCharCode(0x00bb);break;case 'frac14':ch=String.fromCharCode(0x00bc);break;case 'frac12':ch=String.fromCharCode(0x00bd);break;case 'frac34':ch=String.fromCharCode(0x00be);break;case 'iquest':ch=String.fromCharCode(0x00bf);break;case 'Agrave':ch=String.fromCharCode(0x00c0);break;case 'Aacute':ch=String.fromCharCode(0x00c1);break;case 'Acirc':ch=String.fromCharCode(0x00c2);break;case 'Atilde':ch=String.fromCharCode(0x00c3);break;case 'Auml':ch=String.fromCharCode(0x00c4);break;case 'Aring':ch=String.fromCharCode(0x00c5);break;case 'AElig':ch=String.fromCharCode(0x00c6);break;case 'Ccedil':ch=String.fromCharCode(0x00c7);break;case 'Egrave':ch=String.fromCharCode(0x00c8);break;case 'Eacute':ch=String.fromCharCode(0x00c9);break;case 'Ecirc':ch=String.fromCharCode(0x00ca);break;case 'Euml':ch=String.fromCharCode(0x00cb);break;case 'Igrave':ch=String.fromCharCode(0x00cc);break;case 'Iacute':ch=String.fromCharCode(0x00cd);break;case 'Icirc':ch=String.fromCharCode(0x00ce);break;case 'Iuml':ch=String.fromCharCode(0x00cf);break;case 'ETH':ch=String.fromCharCode(0x00d0);break;case 'Ntilde':ch=String.fromCharCode(0x00d1);break;case 'Ograve':ch=String.fromCharCode(0x00d2);break;case 'Oacute':ch=String.fromCharCode(0x00d3);break;case 'Ocirc':ch=String.fromCharCode(0x00d4);break;case 'Otilde':ch=String.fromCharCode(0x00d5);break;case 'Ouml':ch=String.fromCharCode(0x00d6);break;case 'times':ch=String.fromCharCode(0x00d7);break;case 'Oslash':ch=String.fromCharCode(0x00d8);break;case 'Ugrave':ch=String.fromCharCode(0x00d9);break;case 'Uacute':ch=String.fromCharCode(0x00da);break;case 'Ucirc':ch=String.fromCharCode(0x00db);break;case 'Uuml':ch=String.fromCharCode(0x00dc);break;case 'Yacute':ch=String.fromCharCode(0x00dd);break;case 'THORN':ch=String.fromCharCode(0x00de);break;case 'szlig':ch=String.fromCharCode(0x00df);break;case 'agrave':ch=String.fromCharCode(0x00e0);break;case 'aacute':ch=String.fromCharCode(0x00e1);break;case 'acirc':ch=String.fromCharCode(0x00e2);break;case 'atilde':ch=String.fromCharCode(0x00e3);break;case 'auml':ch=String.fromCharCode(0x00e4);break;case 'aring':ch=String.fromCharCode(0x00e5);break;case 'aelig':ch=String.fromCharCode(0x00e6);break;case 'ccedil':ch=String.fromCharCode(0x00e7);break;case 'egrave':ch=String.fromCharCode(0x00e8);break;case 'eacute':ch=String.fromCharCode(0x00e9);break;case 'ecirc':ch=String.fromCharCode(0x00ea);break;case 'euml':ch=String.fromCharCode(0x00eb);break;case 'igrave':ch=String.fromCharCode(0x00ec);break;case 'iacute':ch=String.fromCharCode(0x00ed);break;case 'icirc':ch=String.fromCharCode(0x00ee);break;case 'iuml':ch=String.fromCharCode(0x00ef);break;case 'eth':ch=String.fromCharCode(0x00f0);break;case 'ntilde':ch=String.fromCharCode(0x00f1);break;case 'ograve':ch=String.fromCharCode(0x00f2);break;case 'oacute':ch=String.fromCharCode(0x00f3);break;case 'ocirc':ch=String.fromCharCode(0x00f4);break;case 'otilde':ch=String.fromCharCode(0x00f5);break;case 'ouml':ch=String.fromCharCode(0x00f6);break;case 'divide':ch=String.fromCharCode(0x00f7);break;case 'oslash':ch=String.fromCharCode(0x00f8);break;case 'ugrave':ch=String.fromCharCode(0x00f9);break;case 'uacute':ch=String.fromCharCode(0x00fa);break;case 'ucirc':ch=String.fromCharCode(0x00fb);break;case 'uuml':ch=String.fromCharCode(0x00fc);break;case 'yacute':ch=String.fromCharCode(0x00fd);break;case 'thorn':ch=String.fromCharCode(0x00fe);break;case 'yuml':ch=String.fromCharCode(0x00ff);break;case 'OElig':ch=String.fromCharCode(0x0152);break;case 'oelig':ch=String.fromCharCode(0x0153);break;case 'Scaron':ch=String.fromCharCode(0x0160);break;case 'scaron':ch=String.fromCharCode(0x0161);break;case 'Yuml':ch=String.fromCharCode(0x0178);break;case 'fnof':ch=String.fromCharCode(0x0192);break;case 'circ':ch=String.fromCharCode(0x02c6);break;case 'tilde':ch=String.fromCharCode(0x02dc);break;case 'Alpha':ch=String.fromCharCode(0x0391);break;case 'Beta':ch=String.fromCharCode(0x0392);break;case 'Gamma':ch=String.fromCharCode(0x0393);break;case 'Delta':ch=String.fromCharCode(0x0394);break;case 'Epsilon':ch=String.fromCharCode(0x0395);break;case 'Zeta':ch=String.fromCharCode(0x0396);break;case 'Eta':ch=String.fromCharCode(0x0397);break;case 'Theta':ch=String.fromCharCode(0x0398);break;case 'Iota':ch=String.fromCharCode(0x0399);break;case 'Kappa':ch=String.fromCharCode(0x039a);break;case 'Lambda':ch=String.fromCharCode(0x039b);break;case 'Mu':ch=String.fromCharCode(0x039c);break;case 'Nu':ch=String.fromCharCode(0x039d);break;case 'Xi':ch=String.fromCharCode(0x039e);break;case 'Omicron':ch=String.fromCharCode(0x039f);break;case 'Pi':ch=String.fromCharCode(0x03a0);break;case ' Rho ':ch=String.fromCharCode(0x03a1);break;case 'Sigma':ch=String.fromCharCode(0x03a3);break;case 'Tau':ch=String.fromCharCode(0x03a4);break;case 'Upsilon':ch=String.fromCharCode(0x03a5);break;case 'Phi':ch=String.fromCharCode(0x03a6);break;case 'Chi':ch=String.fromCharCode(0x03a7);break;case 'Psi':ch=String.fromCharCode(0x03a8);break;case 'Omega':ch=String.fromCharCode(0x03a9);break;case 'alpha':ch=String.fromCharCode(0x03b1);break;case 'beta':ch=String.fromCharCode(0x03b2);break;case 'gamma':ch=String.fromCharCode(0x03b3);break;case 'delta':ch=String.fromCharCode(0x03b4);break;case 'epsilon':ch=String.fromCharCode(0x03b5);break;case 'zeta':ch=String.fromCharCode(0x03b6);break;case 'eta':ch=String.fromCharCode(0x03b7);break;case 'theta':ch=String.fromCharCode(0x03b8);break;case 'iota':ch=String.fromCharCode(0x03b9);break;case 'kappa':ch=String.fromCharCode(0x03ba);break;case 'lambda':ch=String.fromCharCode(0x03bb);break;case 'mu':ch=String.fromCharCode(0x03bc);break;case 'nu':ch=String.fromCharCode(0x03bd);break;case 'xi':ch=String.fromCharCode(0x03be);break;case 'omicron':ch=String.fromCharCode(0x03bf);break;case 'pi':ch=String.fromCharCode(0x03c0);break;case 'rho':ch=String.fromCharCode(0x03c1);break;case 'sigmaf':ch=String.fromCharCode(0x03c2);break;case 'sigma':ch=String.fromCharCode(0x03c3);break;case 'tau':ch=String.fromCharCode(0x03c4);break;case 'upsilon':ch=String.fromCharCode(0x03c5);break;case 'phi':ch=String.fromCharCode(0x03c6);break;case 'chi':ch=String.fromCharCode(0x03c7);break;case 'psi':ch=String.fromCharCode(0x03c8);break;case 'omega':ch=String.fromCharCode(0x03c9);break;case 'thetasym':ch=String.fromCharCode(0x03d1);break;case 'upsih':ch=String.fromCharCode(0x03d2);break;case 'piv':ch=String.fromCharCode(0x03d6);break;case 'ensp':ch=String.fromCharCode(0x2002);break;case 'emsp':ch=String.fromCharCode(0x2003);break;case 'thinsp':ch=String.fromCharCode(0x2009);break;case 'zwnj':ch=String.fromCharCode(0x200c);break;case 'zwj':ch=String.fromCharCode(0x200d);break;case 'lrm':ch=String.fromCharCode(0x200e);break;case 'rlm':ch=String.fromCharCode(0x200f);break;case 'ndash':ch=String.fromCharCode(0x2013);break;case 'mdash':ch=String.fromCharCode(0x2014);break;case 'lsquo':ch=String.fromCharCode(0x2018);break;case 'rsquo':ch=String.fromCharCode(0x2019);break;case 'sbquo':ch=String.fromCharCode(0x201a);break;case 'ldquo':ch=String.fromCharCode(0x201c);break;case 'rdquo':ch=String.fromCharCode(0x201d);break;case 'bdquo':ch=String.fromCharCode(0x201e);break;case 'dagger':ch=String.fromCharCode(0x2020);break;case 'Dagger':ch=String.fromCharCode(0x2021);break;case 'bull':ch=String.fromCharCode(0x2022);break;case 'hellip':ch=String.fromCharCode(0x2026);break;case 'permil':ch=String.fromCharCode(0x2030);break;case 'prime':ch=String.fromCharCode(0x2032);break;case 'Prime':ch=String.fromCharCode(0x2033);break;case 'lsaquo':ch=String.fromCharCode(0x2039);break;case 'rsaquo':ch=String.fromCharCode(0x203a);break;case 'oline':ch=String.fromCharCode(0x203e);break;case 'frasl':ch=String.fromCharCode(0x2044);break;case 'euro':ch=String.fromCharCode(0x20ac);break;case 'image':ch=String.fromCharCode(0x2111);break;case 'weierp':ch=String.fromCharCode(0x2118);break;case 'real':ch=String.fromCharCode(0x211c);break;case 'trade':ch=String.fromCharCode(0x2122);break;case 'alefsym':ch=String.fromCharCode(0x2135);break;case 'larr':ch=String.fromCharCode(0x2190);break;case 'uarr':ch=String.fromCharCode(0x2191);break;case 'rarr':ch=String.fromCharCode(0x2192);break;case 'darr':ch=String.fromCharCode(0x2193);break;case 'harr':ch=String.fromCharCode(0x2194);break;case 'crarr':ch=String.fromCharCode(0x21b5);break;case 'lArr':ch=String.fromCharCode(0x21d0);break;case 'uArr':ch=String.fromCharCode(0x21d1);break;case 'rArr':ch=String.fromCharCode(0x21d2);break;case 'dArr':ch=String.fromCharCode(0x21d3);break;case 'hArr':ch=String.fromCharCode(0x21d4);break;case 'forall':ch=String.fromCharCode(0x2200);break;case 'part':ch=String.fromCharCode(0x2202);break;case 'exist':ch=String.fromCharCode(0x2203);break;case 'empty':ch=String.fromCharCode(0x2205);break;case 'nabla':ch=String.fromCharCode(0x2207);break;case 'isin':ch=String.fromCharCode(0x2208);break;case 'notin':ch=String.fromCharCode(0x2209);break;case 'ni':ch=String.fromCharCode(0x220b);break;case 'prod':ch=String.fromCharCode(0x220f);break;case 'sum':ch=String.fromCharCode(0x2211);break;case 'minus':ch=String.fromCharCode(0x2212);break;case 'lowast':ch=String.fromCharCode(0x2217);break;case 'radic':ch=String.fromCharCode(0x221a);break;case 'prop':ch=String.fromCharCode(0x221d);break;case 'infin':ch=String.fromCharCode(0x221e);break;case 'ang':ch=String.fromCharCode(0x2220);break;case 'and':ch=String.fromCharCode(0x2227);break;case 'or':ch=String.fromCharCode(0x2228);break;case 'cap':ch=String.fromCharCode(0x2229);break;case 'cup':ch=String.fromCharCode(0x222a);break;case 'int':ch=String.fromCharCode(0x222b);break;case 'there4':ch=String.fromCharCode(0x2234);break;case 'sim':ch=String.fromCharCode(0x223c);break;case 'cong':ch=String.fromCharCode(0x2245);break;case 'asymp':ch=String.fromCharCode(0x2248);break;case 'ne':ch=String.fromCharCode(0x2260);break;case 'equiv':ch=String.fromCharCode(0x2261);break;case 'le':ch=String.fromCharCode(0x2264);break;case 'ge':ch=String.fromCharCode(0x2265);break;case 'sub':ch=String.fromCharCode(0x2282);break;case 'sup':ch=String.fromCharCode(0x2283);break;case 'nsub':ch=String.fromCharCode(0x2284);break;case 'sube':ch=String.fromCharCode(0x2286);break;case 'supe':ch=String.fromCharCode(0x2287);break;case 'oplus':ch=String.fromCharCode(0x2295);break;case 'otimes':ch=String.fromCharCode(0x2297);break;case 'perp':ch=String.fromCharCode(0x22a5);break;case 'sdot':ch=String.fromCharCode(0x22c5);break;case 'lceil':ch=String.fromCharCode(0x2308);break;case 'rceil':ch=String.fromCharCode(0x2309);break;case 'lfloor':ch=String.fromCharCode(0x230a);break;case 'rfloor':ch=String.fromCharCode(0x230b);break;case 'lang':ch=String.fromCharCode(0x2329);break;case 'rang':ch=String.fromCharCode(0x232a);break;case 'loz':ch=String.fromCharCode(0x25ca);break;case 'spades':ch=String.fromCharCode(0x2660);break;case 'clubs':ch=String.fromCharCode(0x2663);break;case 'hearts':ch=String.fromCharCode(0x2665);break;case 'diams':ch=String.fromCharCode(0x2666);break;default:ch='';break;}}i=semicolonIndex;}}out+=ch;}return out;};};var Q=new Qbase();Q.mp.containerId='player';Q.mp.isHidePlayer=false;Q.mp.url='';Q.mp.hidePlayer=function(){if(this.isHidePlayer)return;var opc=document.getElementById(this.containerId+'Contents');if(!opc)return;opc.style.display='none';opc.innerHTML='&nbsp;';this.isHidePlayer=true;};Q.mp.show=function(containerId){if(containerId!=null)this.containerId=containerId;var op=document.getElementById(this.containerId);if(!op){this.isHidePlayer=false;return;}var opc=document.getElementById(this.containerId+'Contents');if(opc&&this.isHidePlayer){opc.style.display='block';this.isHidePlayer=false;return;}this.isHidePlayer=false;if(op.style.display=='block')return;var html='<div id="'+this.containerId+'Header" '+'class="contentPanelHeader" '+'style="height:20px;'+'vertical-align:middle;" />'+'<table style="width:100%"><tr style="height:20px;">'+'<td style="width:*;vertical-align:middle;font-weight:bold;padding-left:6px;">'+'<span id="'+this.containerId+'HeaderCaption" >'+'</span>'+'</td>'+'<td style="width:44px;text-align:right;">'+'<img class="link" src="menu/close_wide.gif" '+'onmouseover="this.src=&#39;menu/close_wide_over.gif&#39;" '+'onmouseout="this.src=&#39;menu/close_wide.gif&#39;" '+'title="Click to Close Media Panel" onclick="Q.mp.close();">'+'</td>'+'</tr></table>'+'</div>'+'<div id="'+this.containerId+'Contents" class="peopleListContents" '+'style="padding-top: 1px; width:100%;height:100%;text-align:center;">'+'<br/><br/><img src="c/i/waitbig.gif">'+'</div>';op.innerHTML=html;op.style.width='642px';var ol=document.getElementById('objectList');op.style.display='block';this.isVisible=true;};Q.mp.setCaption=function(caption){var c=document.getElementById(this.containerId+'HeaderCaption');if(c)c.innerHTML=caption;};Q.mp.viewGuid=function(guid){Q.mp.view('o.q?i='+guid);var o=Q.du.objects.byGuid[guid];if(o){Q.mp.setCaption('Viewing&nbsp;<i>'+o.name+'</i>');}};Q.mp.view=function(url){if(Q.m)Q.m.hide();if(!url)url=this.url;if(url=='')return;this.url=url;Q.mp.show();var opc=document.getElementById(this.containerId+'Contents');if(opc){opc.innerHTML='<img src="'+url+'" />';}};Q.mp.playGuid=function(guid){Q.mp.play('o.q?i='+guid);var o=Q.du.objects.byGuid[guid];if(o){Q.mp.setCaption('Playing&nbsp;<i>'+o.name+'</i>');}};Q.mp.play=function(url){if(Q.m)Q.m.hide();if(!url)url=this.url;if(url=='')return;this.url=url;Q.mp.show();var so=new SWFObject(url,"csSWF","640","498","9.0.28","#1a1a1a");so.addParam("quality","best");so.addParam("allowFullScreen","true");so.addParam("scale","showall");so.addParam("allowScriptAccess","always");so.addVariable("autostart","false");so.write(Q.mp.containerId+'Contents');};Q.mp.close=function(){var op=document.getElementById(this.containerId);if(!op)return;op.style.display='none';this.isVisible=false;};Q.cx.value=function(id){var o=document.getElementById(id);var v="";if(o){if(o.type.toLowerCase()=="checkbox"){v=o.checked;}else{if(o.value){v=o.value;}}}return v;};Q.cx.valueEncode=function(id){return encodeURIComponent(Q.cx.value(id));};Q.cx.textbox=function(id,width,maxLength,onFocus,keyPress){if(keyPress==null)keyPress='';if(onFocus==null)onFocus='';var focusHtml='';if(onFocus!='')focusHtml='onfocus="javascript:'+onFocus+'" ';return '<input type="text" id="'+id+'" name="'+id+'" '+'maxlength="'+maxLength+'" '+'class="textEntry" style="width:'+width+';" '+'qfc_is_validated="0" '+focusHtml+'onkeypress="javascript:'+'this.setAttribute(\'qfc_is_validated\',\'0\'); '+'this.style.backgroundColor=\'white\'; '+keyPress+' " '+'/>';};Q.cx.password=function(id,width,maxLength,onFocus,keyPress){if(keyPress==null)keyPress='';if(onFocus==null)onFocus='';var focusHtml='';if(onFocus!='')focusHtml='onfocus="javascript:'+onFocus+'" ';return '<input type="password" id="'+id+'" name="'+id+'" '+'maxlength="'+maxLength+'" '+'class="textEntry" style="width:'+width+';" '+'qfc_is_validated="0" '+focusHtml+'onkeypress="javascript:'+'this.setAttribute(\'qfc_is_validated\',\'0\'); '+'this.style.backgroundColor=\'white\'; '+keyPress+' " />';};Q.cx.isValidated=function(id){var o=document.getElementById(id);if(o){var a=o.getAttribute('qfc_is_validated');if(a==1||a=="1")return true;}return false;};Q.cx.validate=function(serviceKey,controlKeys){if(serviceKey=='')return;var params='x=0';var o;if(Q.isArray(controlKeys)){for(var i=0;i<controlKeys.length;i++){if(!Q.cx.isValidated(controlKeys[i])){o=document.getElementById(controlKeys[i]);o.setAttribute('qfc_is_validated','1');params=params+'&c'+i+'='+controlKeys[i]+'&v'+i+'='+Q.cx.valueEncode(controlKeys[i]);}}}else{if(Q.cx.isValidated(controlKeys))return;o=document.getElementById(controlKeys);o.setAttribute('qfc_is_validated','1');params='c0='+controlKeys+'&v0='+Q.cx.valueEncode(controlKeys);}if(params.length==3)return;Q.cx.setMessage('','');Q.async.startJsonPost('async.q?service='+serviceKey,params,null,'');};Q.cx.validateError=function(controlKey,message){Q.cx.setMessage(message,'ERROR');if(controlKey=='')return;document.getElementById(controlKey).style.backgroundColor='#FFCCCC';};Q.cx.setMessage=function(message,type){if(type==null)type='';type=type.toUpperCase();var o=document.getElementById('qcc_data_entry_message');if(o){var color="dimgray";if(type=='ERROR')color="red";o.style.color=color;o.innerHTML=message;}};Q.cx.viewMedia=function(type,url){var img=document.getElementById("picViewer");img.src=url;};Q.cx.validateScrollToEnd=function(control,controlEnable){var isAtEnd=(control.scrollHeight==(Math.abs(control.scrollTop)+control.clientHeight));if(controlEnable!=null){controlEnable.disabled= !(isAtEnd);}};Q.cx.dropdown=new Object();Q.cx.dropdown.populateList=function(dropdownElement,jsObjectArray){var item;for(item in jsObjectArray){var opt=document.createElement("option");opt.text=jsObjectArray[item];opt.value=item;dropdownElement.options.add(opt);}};Q.cx.ib=new Object();Q.cx.ib.mover=function(ev){ev=(ev)?ev:event;if(!ev)return;var tar=(ev.target)?ev.target:ev.srcElement;tar.className='buttonOver';};Q.cx.ib.mout=function(ev){ev=(ev)?ev:event;if(!ev)return;var tar=(ev.target)?ev.target:ev.srcElement;tar.className='button';};function QgridManager(){this.id='';this.g=new Object();this.columns=null;this.data=null;this.columnDataOffset=0;this.init=function(id,columns,columnDataOffset){this.columnDataOffset=(columnDataOffset?columnDataOffset:0);this.id=id;this.g=new dhtmlXGridObject(this.id);this.columns=columns;this.g.setImagePath('c/dxi/');};this.getColumn=function(i){var column=new Object();column.width=this.g.getColWidth(i);var cell=this.g.hdr.rows[1].cells[i];column.name=(cell.innerText?cell.innerText:cell.textContent);column.guid=cell.getAttribute('guid');return column;};this.setColumnGuids=function(){if(this.columns==null)return;var cell;var column;var count=this.g.getColumnsNum();for(var i=0;i<count;i++){cell=this.g.hdr.rows[1].cells[i];if(i>=this.columnDataOffset){column=this.columns.items[i-this.columnDataOffset];cell.setAttribute('guid',column.guid);}else{cell.setAttribute('guid','');}}};this.getSortAndFilterInfo=function(){var info={sortGuid:'',sortType:'',sortDesc:0,filterGuidList:'',filterList:''};var column;var index;if(this.g.obj.grid.fldSorted){index=this.g.obj.grid.fldSorted._cellIndex;if(index>=0){column=this.getColumn(index);info.sortGuid=column.guid;info.sortType=this.g.obj.grid.fldSort[index];if(this.g.obj.grid.sortImg.src.indexOf('_desc')> -1)info.sortDesc=1;}}var count=this.g.filters.length;var filter;var filterCount=0;for(var i=0;i<count;i++){filter=this.g.filters[i];if(filter&&filter[0].value&&filter[0].value!=''){column=this.getColumn(filter[1]);filterCount++;info.filterGuidList+=(filterCount==1?'':';')+column.guid;info.filterList+=(filterCount==1?'':';')+filter[0].value;}}return info;};};Q.cx.g=new Object();Q.cx.g.byId=new Array();Q.cx.g.items=new Array();Q.cx.g.add=function(gm){this.byId[gm.id]=gm;this.items[this.items.length]=gm;};Q.cx.g.group=function(id,col){var gm=Q.cx.g.byId[id];if(!gm)return;var g=gm.g;if(!col){g.unGroup();return;}g.groupBy(col);};Q.cx.g.getDragColumnName=function(id){var gm=Q.cx.g.byId[id];if(!gm)return '';if(!gm.g._colInMove)return '';var caption=gm.g._colInMove.innerHTML;if(!caption)return '';return caption;};Q.cx.g.load=function(id,data){var gm=Q.cx.g.byId[id];if(!gm)return;gm.data=data;var g=gm.g;g.clearAll();g.parse(data,"json");g.setSizes();};Q.cx.g.render=function(id,columns,ssr){var smart=(!ssr);var col;var comma;var listCaptions='';var listWidths='';var listColTypes='';var listColAlign='';var listColSorting='';var listColToolHeader='';var listColFilterHeader='';var curSort;var curAlign;var curFilterHeader;var curToolHeader;for(c=0;c<columns.items.length;c++){col=columns.items[c];comma=(c==0?'':',');curSort='str';curAlign='left';curFilterHeader='#text_filter';curToolHeader='<img src="c/i/row_del_0.gif" '+'onclick="javascript:Q.cx.g.group(&#34;'+id+'&#34;&#44;'+c+');" />';curToolHeader='#rspan';if(col.dataType=='int'||col.dataType=='numeric'){curSort='int';curAlign='right';curFilterHeader='#numeric_filter';}else if(col.dataType=='datetime'){curSort='date';curAlign='right';curFilterHeader='#rspan';}if(!col.isFilter)curFilterHeader='';listCaptions+=comma+col.columnName+'<input type="hidden" id="'+id+'Column'+c+'" value="'+col.guid+'"/>';listWidths+=comma+col.widthPixel;listColTypes+=comma+'ro';listColSorting+=comma+curSort;listColAlign+=comma+curAlign;listColFilterHeader+=comma+curFilterHeader;listColToolHeader+=comma+curToolHeader;}var gm=new QgridManager();gm.init(id,columns);Q.cx.g.add(gm);var g=gm.g;g.setHeader(listCaptions);g.setInitWidths(listWidths);g.setColAlign(listColAlign);g.setColTypes(listColTypes);g.setColSorting(listColSorting);g.enableColumnMove(true);g.setSkin('light');g.enableSmartRendering(smart);g.init();gm.setColumnGuids();g.attachHeader(listColFilterHeader);g.hdr.rows[2].onclick=function(e){(e||event).cancelBubble=true;};g.setSizes();};Q.cx.g.renderStatistics=function(id,columns){var col;var columnDataOffset=1;var comma;var listCaptions='';var listWidths='';var listColTypes='';var listColAlign='';var listColToolHeader='';var curToolHeader;listCaptions+='Statistic';listWidths+='120';listColTypes+='ro';listColAlign+='left';var data=new Object();data.rows=new Array();var STAT_DISTINCT=0;var STAT_DISTINCT_PERC=1;var STAT_NULL_COUNT=2;var STAT_MIN=3;var STAT_MAX=4;var STAT_AVG=5;var STAT_SUM=6;var STAT_STDEV=7;var STAT_VAR=8;var STAT_MIN_WHEN=9;var STAT_MAX_WHEN=10;var STAT_TIME_COUNT=11;var STAT_UPDATE_WHEN=12;data.rows[STAT_DISTINCT]={id:STAT_DISTINCT,data:['Distinct Value Count']};data.rows[STAT_DISTINCT_PERC]={id:STAT_DISTINCT_PERC,data:['% Distinct']};data.rows[STAT_NULL_COUNT]={id:STAT_NULL_COUNT,data:['Null Value Count']};data.rows[STAT_MIN]={id:STAT_MIN,data:['Minimum Value']};data.rows[STAT_MAX]={id:STAT_MAX,data:['Maximum Value']};data.rows[STAT_AVG]={id:STAT_AVG,data:['Average Value']};data.rows[STAT_SUM]={id:STAT_SUM,data:['Sum of Column']};data.rows[STAT_STDEV]={id:STAT_STDEV,data:['Standard Deviation']};data.rows[STAT_VAR]={id:STAT_VAR,data:['Variance']};data.rows[STAT_MIN_WHEN]={id:STAT_MIN_WHEN,data:['Earliest Date/Time']};data.rows[STAT_MAX_WHEN]={id:STAT_MAX_WHEN,data:['Latest Date/Time']};data.rows[STAT_TIME_COUNT]={id:STAT_TIME_COUNT,data:['Date with Time Count']};for(c=0;c<columns.items.length;c++){col=columns.items[c];comma=',';curToolHeader='<img src="c/i/row_del_0.gif" '+'onclick="javascript:Q.cx.g.group(&#34;'+id+'&#34;&#44;'+c+');" />';curToolHeader='#rspan';listCaptions+=comma+col.columnName;listWidths+=comma+'80';listColTypes+=comma+'ro';listColAlign+=comma+'right';listColToolHeader+=comma+curToolHeader;data.rows[STAT_DISTINCT].data[c+1]=''+col.StatisticDistinct;data.rows[STAT_DISTINCT_PERC].data[c+1]=''+parseFloat(col.StatisticPercDistinct).toFixed(2)+'%';data.rows[STAT_NULL_COUNT].data[c+1]=''+col.StatisticNulls;if(col.dataType=='int'){data.rows[STAT_MIN].data[c+1]=''+col.StatisticMin;data.rows[STAT_MAX].data[c+1]=''+col.StatisticMax;data.rows[STAT_AVG].data[c+1]=''+col.StatisticAvg;data.rows[STAT_SUM].data[c+1]=''+col.StatisticSum;data.rows[STAT_STDEV].data[c+1]=''+parseFloat(col.StatisticStdev).toFixed(0);data.rows[STAT_VAR].data[c+1]=''+parseFloat(col.StatisticVar).toFixed(0);}else if(col.dataType=='numeric'){data.rows[STAT_MIN].data[c+1]=''+parseFloat(col.StatisticMin).toFixed(2);data.rows[STAT_MAX].data[c+1]=''+parseFloat(col.StatisticMax).toFixed(2);data.rows[STAT_AVG].data[c+1]=''+parseFloat(col.StatisticAvg).toFixed(2);data.rows[STAT_SUM].data[c+1]=''+parseFloat(col.StatisticSum).toFixed(2);data.rows[STAT_STDEV].data[c+1]=''+parseFloat(col.StatisticStdev).toFixed(2);data.rows[STAT_VAR].data[c+1]=''+parseFloat(col.StatisticVar).toFixed(2);}else{data.rows[STAT_MIN].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_MAX].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_AVG].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_SUM].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_STDEV].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_VAR].data[c+1]='<span color="gray">N/A</span>';}if(col.dataType=='datetime'){data.rows[STAT_MIN_WHEN].data[c+1]=''+col.StatisticMinWhen;data.rows[STAT_MAX_WHEN].data[c+1]=''+col.StatisticMaxWhen;data.rows[STAT_TIME_COUNT].data[c+1]=''+col.StatisticCountTime;}else{data.rows[STAT_MIN_WHEN].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_MAX_WHEN].data[c+1]='<span color="gray">N/A</span>';data.rows[STAT_TIME_COUNT].data[c+1]='<span color="gray">N/A</span>';}}var gm=new QgridManager();gm.init(id,columns,columnDataOffset);Q.cx.g.add(gm);var g=gm.g;g.setHeader(listCaptions);g.setInitWidths(listWidths);g.setColAlign(listColAlign);g.setColTypes(listColTypes);g.enableColumnMove(true);g.setSkin('light');g.init();gm.setColumnGuids();Q.cx.g.load(id,data);g.setSizes();};Q.async.posts=new Array();Q.async.postsByKey=new Array();Q.async.startJsonPost=function(url,postBody,endFunctionReference,customInfo){var d=new Date();var messages=new Object();messages.items=new Array();messages.first=null;messages.add=function(item){this.items[this.items.length]=item;if(this.first==null)this.first=item;};var postInfo={key:'X'+d.getUTCDate()+'.'+d.getUTCHours()+'.'+d.getUTCSeconds()+'.'+d.getUTCMilliseconds()+'.'+Math.floor(Math.random()*(100001)),onEnd:endFunctionReference,customInfo:customInfo,messages:messages};this.posts[this.posts.length]=postInfo;this.postsByKey[postInfo.key]=postInfo;var request=new Sys.Net.WebRequest();request.set_url(url);request.set_httpVerb('POST');request.set_userContext(postInfo.key);request.set_body(postBody);request.set_timeout(15000);request.add_completed(Q.async.endJsonPost);request.invoke();};Q.async.endJsonPost=function(result,eventArgs){if(result.get_timedOut()){Sys.Debug.trace('REQUEST TIMED OUT');return;}var postInfoKey=result.get_webRequest().get_userContext();var postInfo=Q.async.postsByKey[postInfoKey];if(result.get_responseAvailable()){var response=result.get_responseData();Sys.Debug.trace(result.get_statusText());try{var x=eval('var p = Q.async.postsByKey["'+postInfoKey+'"]; '+response);}catch(e){Sys.Debug.trace('Error in EVAL:\n'+'var p = Q.async.postsByKey["'+postInfoKey+'"]; '+response);};Sys.Debug.trace('REQUEST: '+postInfo.key+':\n'+response);}if(postInfo.onEnd==null)return;postInfo.onEnd(result,postInfo);};Q.async.getPostInfoMessages=function(postInfo){if(postInfo.messages.items.length==0)return "";var html="";var message;for(var i=0;i<postInfo.messages.items.length;i++){message=postInfo.messages.items[i];if(i>0)html+='<br />';html+=message.subject;}return html;};Q.async.onDemandLoad=function(componentRef,componentTypeKey){if(componentRef.odLoading)return;if(componentRef.odLoaded){try{var x=eval(componentRef.odAction);}catch(e){}}componentRef.odLoading=true;Q.async.startJsonPost('async.q?service=script_component.load','key='+componentTypeKey,Q.async.onDemandLoadComplete,componentRef);};Q.async.onDemandLoadComplete=function(result,postInfo){var componentRef=postInfo.customInfo;componentRef.odLoaded=true;componentRef.odLoading=false;try{var x=eval(componentRef.odAction);}catch(e){}};Q.ds.ot=new Object();Q.ds.ot.isLoaded=false;Q.ds.ot.load=function(){this.isLoaded=true;};Q.ds.ot.i=new Array();Q.p.layout=new Object();Q.p.isSecuredByLogin=true;Q.p.urlSecureRoot='';Q.p.captcha=new Object();Q.p.captcha.containerId='';Q.p.captcha.html='';Q.p.captcha.getHtml=function(containerId){Q.p.captcha.containerId=containerId;Q.async.startJsonPost('async.q?service=captcha.get','',Q.p.captcha.getHtmlComplete,'');};Q.p.captcha.getHtmlComplete=function(result,postInfo){if(Q.p.captcha.containerId=='')return;var o=document.getElementById(Q.p.captcha.containerId);o.innerHTML=Q.p.captcha.html;};Q.p.setContent=function(html){var o=document.getElementById('qcc_page_content_outside');if(o){if(o.innerHTML.length>0){o.innerHTML=html;return;}}o=document.getElementById('qcc_page_content_main');if(o){o.innerHTML=html;}};Q.p.goForgotAccount=function(){window.location='ForgotAccount.aspx';};Q.p.goForgotPassword=function(){window.location='ForgotPassword.aspx';};Q.p.refresh=function(){var theForm=document.forms['aspnetForm'];if(!theForm){theForm=document.aspnetForm;}if(theForm)theForm.submit();};Q.p.modalStart=function(){var panel=document.getElementById("panelModalBlock");var windowHeight=0;var windowWidth=0;if(window.innerHeight){windowHeight=window.innerHeight;}else if(document.body.clientHeight){windowHeight=document.body.clientHeight;}else if(document.body.parentElement.clientHeight){windowHeight=document.body.parentElement.clientHeight;}if(window.innerWidth){windowWidth=window.innerWidth;}else if(document.body.clientWidth){windowWidth=document.body.clientWidth;}else if(document.body.parentElement.clientWidth){windowWidth=document.body.parentElement.clientWidth;}panel.style.left="0px";panel.style.top="0px";panel.style.width=windowWidth-1+"px";panel.style.height=windowHeight-0+"px";panel.style.zIndex=9999;panel.style.display="block";};Q.p.modalEnd=function(){var panel=document.getElementById("panelModalBlock");panel.style.display="none";};Q.p.layout.getPosX=function(obj){var curleft=0;if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft;if(obj.scrollLeft){curleft-=obj.scrollLeft;}obj=obj.offsetParent;}}else if(obj.x)curleft+=obj.x;curleft+=document.body.scrollLeft;return curleft;};Q.p.layout.getPosY=function(obj){var curtop=0;if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop;if(obj.scrollTop){curtop-=obj.scrollTop;}obj=obj.offsetParent;}}else if(obj.y)curtop+=obj.y;curtop+=document.body.scrollTop;return curtop;};Q.p.sessionExpired=function(){var pageName=window.location.pathname.substring(window.location.pathname.lastIndexOf('\/')+1,window.location.pathname.length);var loginUrl='?redirecturl='+pageName;window.location=loginUrl;};Q.h.caption="";Q.h.buttonUrl="";Q.h.isMenu=false;Q.h.link=new Object();Q.h.link.separator="&nbsp;&nbsp;|&nbsp;&nbsp;";Q.h.link.items=new Array();Q.h.link.add=function(item){this.items[this.items.length]=item;};Q.h.init=function(caption,buttonUrl,isMenu){this.caption=caption;this.buttonUrl=buttonUrl;this.isMenu=isMenu;};Q.h.setCaption=function(caption){var o=document.getElementById('panelHeaderMenuCaption');if(o){o.innerHTML=caption+'&nbsp;';}};Q.h.render=function(){var header=document.getElementById('qHeaderContents');var linkHtml='';var linkLogout='<a class="headerStandard" href=".?logout=1" style="font-weight:bold;">LOG OUT</a>';if(!Q.p.isSecuredByLogin)linkLogout='';var buttonLinkHtml='<a class="image" href="'+this.buttonUrl+'">';if(this.isMenu)buttonLinkHtml='';var buttonOnClickHtml=' /></a>';if(this.isMenu)buttonOnClickHtml='onclick="Q.m.show();" />';var item;for(var i=0;i<this.link.items.length;i++){item=this.link.items[i];if(i>0)linkHtml+=Q.h.link.separator;linkHtml+='<a class="headerLinks" href="'+item.url+'">'+item.caption+'</a>';}header.innerHTML='<table '+'style="width:100%;height:58px;border-collapse:collapse;" '+'cellpadding="0" cellspacing="0">'+'<tr style="height:58px;vertical-align:top;">'+'<td style="width:78px;text-align:left;vertical-align:top;">'+buttonLinkHtml+'<img id="imageHeaderMenu" class="link" '+'src="logo/big_blue_q_menu_logo.gif" '+'onmouseover="this.src = \'logo/big_blue_q_menu_logo_over.gif\';" '+'onmouseout="this.src = \'logo/big_blue_q_menu_logo.gif\';" '+buttonOnClickHtml+'<div id="panelHeaderMenu" '+'style="position:absolute; display:none;'+'top:40px; left:100px; height: 400px; width: 533px;'+'padding: 16px 14px 16px 14px;'+'border: none 0px gray;'+'background-color:transparent;'+'background-repeat:no-repeat;'+'background-image:url(\'menu/menu_background.gif\');">'+'</div> '+'<div id="panelHeaderMenuPopup" '+'class="menuPopupMenu" '+'style="position:absolute;display:none;" '+'onclick="Q.m.popup.hide();" ></div>'+'</td><td '+'style="width:auto;background-repeat:no-repeat;background-image:url(\'logo/big_b'+'lue_q_menu_background.gif\'); '+'text-align:left;vertical-align:top;padding-top:12px;">'+'<div id="panelHeaderMenuCaption" style="width:100%;height:24px;color:#7885FC; '+'font-family:Arial;font-weight:bold;font-size:16px;text-align:left;vertical-align:top;">'+this.caption+'&nbsp;</div>'+'<div style="width:100%;height:14px; '+'font-family:Arial;font-size:11px;text-align:left;vertical-align:top;">'+linkHtml+'</div>'+'</td>'+'<td style="width:260px;background-repeat:no-repeat;'+'background-image:url(\'logo/big_blue_q_menu_background.gif\');'+'text-align:left;vertical-align:top;padding-top:12px;">'+'<div style="width:100%;height:24px;color:gray;'+'font-family:Arial;font-weight:bold;font-size:16px;text-align:left;vertical-align:'+'top;">&nbsp;'+'</div>'+'<div style="width:100%;height:14px;'+'color:gray;font-family:Arial;font-size:11px;text-align:right;vertical-align:top;">'+linkLogout+'</div>'+'</td>'+'<td style="width:23px;background-repeat:no-repeat;'+'background-image:url(\'logo/big_blue_q_menu_background_end.gif\');">'+'&nbsp;'+'</td>'+'</tr>'+'</table>';if(this.isMenu)Q.m.render();};Q.f.render=function(){var footer=document.getElementById("qFooterContent");footer.innerHTML='<br />'+'<a class="footer" href=".">BigBlueQ Home</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="http://blog.bigblueq.com">Blog</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="info.aspx">Info</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="faq.aspx">FAQ</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="privacy.aspx">Privacy Policy</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="terms.aspx">Terms and Conditions</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="contact.aspx">Contact Us</a>'+'&nbsp;|&nbsp;'+'<a class="footer" href="presscenter.aspx">Press Center</a>'+'<br /><br />'+'<a class="footer" href=".">BigBlueQ&reg;</a>, '+'Q Platform&#153;, '+'all related source code, designs and documentation are copyright © 2004-2009, '+'Big Blue Q LLC.  All rights reserved.'+'<br /><br />';};Q.u.login=new Object();Q.u.login.message="";Q.u.login.checkEnter=function(e){var evt=e?e:window.event;if(evt.keyCode==13){Q.u.login.login();}return true;};Q.u.login.login=function(){document.getElementById('nolog_isqlgn').value=1;var form=document.getElementById('defaultForm');if(form==null){form=document.getElementById('aspnetForm');};form.submit();return true;};Q.u.login.render=function(containerKey){var container;if(containerKey!=null){container=document.getElementById(containerKey);}else{container=document.getElementById("qcc_login");}if(!container)return;var html='<div id="panelBigBlueQLogin" '+'style="height: 120px; width: 210px; '+'border: solid 1px gainsboro; text-align: left; '+'padding: 10px 10px 10px 10px;">'+'<span class="loginCaption">BigBlueQ&#153; Account</span>'+'&nbsp;&nbsp;&nbsp;'+'<br />'+'<input id="nolog_quid" name="nolog_quid" type="text" '+'style="width: 200px;" tabindex="1" /><br />'+'<span class="loginCaption">Password</span>'+'&nbsp;&nbsp;&nbsp;'+'<br />'+'<input id="nolog_qpwd" name="nolog_qpwd" '+'type="password" style="width: 200px;"  '+'tabindex="2" onkeypress="Q.u.login.checkEnter(event);" /> '+'<input type="hidden"  '+'id="nolog_isqlgn" name="nolog_isqlgn" value="" /> '+'<br /> '+'<br /> '+'<img src="c/i/button_login.gif" onclick="Q.u.login.login();" > '+'<br /><br /></div>';container.innerHTML=html;};Q.u.signup=new Object();Q.u.signup.message='';Q.u.signup.odLoaded=false;Q.u.signup.odLoading=false;Q.u.signup.odAction='';Q.u.signup.odExec=function(action){this.odAction=action;Q.async.onDemandLoad(Q.u.signup,'Q.signup.1');};Q.u.signup.renderEmailVerify=function(){var container=document.getElementById("qcc_signup_email_verify");if(!container)return;var html='<fieldset class="signupFieldset">'+'<legend style="color:blue;">Sign up for a BigBlueQ&reg; Account</legend> '+'<table class="initialSignupTable" cellpadding="1" border="0">'+'<tr>'+'<td style="width:150px;"></td>'+'<td style="width:150px;"></td>'+'<td></td>'+'</tr>'+'<tr>'+'<td colspan="3">'+'<span id="qfc_sev_message" style="color:red;"></span></td>'+'</tr>'+'<tr style="height:26px;">'+'<td>E-Mail Address: </td>'+'<td colspan="2"><input id="qfc_sev_email" name="qfc_sev_email" '+'type="text" style="width:260px;" '+'value="" /></td>'+'</tr>'+'<tr style="height:26px;">'+'<td>Access Code: </td>'+'<td colspan="2"><input name="qfc_sev_access_code" type="text" '+'style="width:260px;" '+'id="qfc_sev_access_code" value="" /></td>'+'</tr>'+'<tr style="height:26px;">'+'<td colspan="2">'+'<input id="qfc_sev_is_permit_email" type="checkbox" '+'name="qfc_sev_is_permit_email" checked value="1" />&nbsp;'+'<span class="description">Keep me updated on your progress.  '+'(We won\'t share<br/>your '+'email address and you can opt out at any time.)</span>'+'</td>'+'<td style="vertical-align:bottom;text-align:right;">'+'<span id="qfc_sev_submit_button_container">'+'<img src="c/signup/button_signup.gif" '+'onclick="javascript:Q.u.signup.submitEmailVerify();" >'+'</span>'+'</td>'+'</tr></table>'+'</fieldset>';container.innerHTML=html;};Q.u.signup.submitEmailVerify=function(){Q.u.signup.message="";Q.u.signup.setEmailVerifyButton(true);Q.async.startJsonPost('async.q?service=signup.ev','email='+Q.cx.value('qfc_sev_email')+'&access_code='+Q.cx.value('qfc_sev_access_code')+'&is_permit_email='+Q.cx.value('qfc_sev_is_permit_email'),Q.u.signup.submitEmailVerifyComplete,"");};Q.u.signup.submitEmailVerifyComplete=function(result,postInfo){var messages=Q.async.getPostInfoMessages(postInfo);Q.u.signup.setEmailVerifyButton(false);if(messages!=""){var o=document.getElementById("qfc_sev_message");o.innerHTML=messages;return;}var container=document.getElementById("qcc_signup_email_verify");container.innerHTML='<span style="font-size:12pt;color:blue;">'+Q.u.signup.message+'</span>';};Q.u.signup.setEmailVerifyButton=function(isWait){var o=document.getElementById('qfc_sev_submit_button_container');if(o){if(isWait)o.innerHTML='<img src="./c/i/wait.gif" />';if(!isWait)o.innerHTML='<img src="c/signup/button_signup.gif" '+'onclick="javascript:Q.u.signup.submitEmailVerify();" >';}};Q.u.invite=new Object();Q.u.invite.message='';Q.u.invite.odLoaded=false;Q.u.invite.odLoading=false;Q.u.invite.odAction='';Q.u.invite.odExec=function(action){this.odAction=action;Q.async.onDemandLoad(Q.u.invite,'Q.invite.1');};