var jcarousel_itemstart=1;var winReference=null;function activateVFSSubMenus(){if($.browser.msie){if(!document.getElementById)return;var subs=document.getElementsByName('submenu');for(var i=0;i<subs.length;i++){var li=subs[i].parentNode;if(li&&li.lastChild.style&&li.id!='blog'){li.onmouseover=function(){this.lastChild.style.display='block';this.style.zIndex=99;}
li.onmouseout=function(){this.lastChild.style.display='none';}}}}}
function openPositionedWindow(url,name,width,height,x,y,status,scrollbars,moreProperties,openerName){var agent=navigator.userAgent.toLowerCase();if(agent.indexOf("mac")!=-1&&agent.indexOf("msie")!=-1&&(agent.indexOf("msie 4")!=-1||agent.indexOf("msie 5.0")!=-1)){height+=(status)?17:2;}
width+=(scrollbars!=''&&scrollbars!=null&&agent.indexOf("mac")==-1)?16:0;var properties='width='+width+',height='+height+',screenX='+x+',screenY='+y+',left='+x+',top='+y+((status)?',status':'')+',scrollbars'+((scrollbars)?'':'=no')+((moreProperties)?','+moreProperties:'');var reference=openWindow(url,name,properties,openerName);return reference;}
function openCenteredWindow(url,name,width,height,status,scrollbars,moreProperties,openerName){var x,y=0;if(screen){x=(screen.availWidth-width)/2;y=(screen.availHeight-height)/2;}
if(!status)status='';if(!openerName)openerName='';var reference=openPositionedWindow(url,name,width,height,x,y,status,scrollbars,moreProperties,openerName);return reference;}
function openCenteredOnOpenerWindow(url,name,width,height,status,scrollbars,moreProperties,openerName){var centerX=0;var centerY=0;if(window.screenX!=null&&window.outerWidth){centerX=window.screenX+(window.outerWidth/2);centerY=window.screenY+(window.outerHeight/2);}
else if(window.screenLeft){if(document.documentElement){centerX=window.screenLeft+(document.documentElement.offsetWidth/2);centerY=window.screenTop+(document.documentElement.offsetHeight/2);}else if(document.body&&document.body.offsetWidth){centerX=window.screenLeft+(document.body.offsetWidth/2);centerY=window.screenTop+(document.body.offsetHeight/2);}}
if(centerX==0){openCenteredWindow(url,name,width,height,status,scrollbars,moreProperties,openerName);}
var x=parseInt(centerX-(width/2));var y=parseInt(centerY-(height/2));if(!status)status='';if(!openerName)openerName='';var reference=openPositionedWindow(url,name,width,height,x,y,status,scrollbars,moreProperties,openerName);return reference;}
function openAWindow(pageToLoad,winName,width,height,center){xposition=0;yposition=0;if((parseInt(navigator.appVersion)>=4)&&(center)){xposition=(screen.width-width)/2;yposition=(screen.height-height)/2;}
args="width="+width+","
+"height="+height+","
+"location=0,"
+"menubar=0,"
+"resizable=0,"
+"scrollbars=0,"
+"status=0,"
+"titlebar=0,"
+"toolbar=0,"
+"hotkeys=0,"
+"screenx="+xposition+","
+"screeny="+yposition+","
+"left="+xposition+","
+"top="+yposition;var myWindow
myWindow=window.open(pageToLoad,winName,args);myWindow.focus();}
function openMaxedWindow(url,name,scrollbars,openerName){var x,y=0;var width=600;var height=800;if(screen){if(screen.availLeft){x=screen.availLeft;y=screen.availTop;}
width=screen.availWidth-6;height=screen.availHeight-29;}
var reference=openPositionedWindow(url,name,width,height,x,y,false,scrollbars,openerName);return reference;}
function openFullChromeWindow(url,name,openerName){return openWindow(url,name,'directories,location,menubar,resizable,scrollbars,status,toolbar');}
function openSizedFullChromeWindow(url,name,width,height,openerName){return openCenteredWindow(url,name,width,height,true,true,'directories,location,menubar,resizable,toolbar',openerName)}
function openWindow(url,name,properties,openerName){var agent=navigator.userAgent.toLowerCase();if(agent.indexOf("msie")!=-1&&parseInt(navigator.appVersion)==4&&agent.indexOf("msie 5")==-1&&agent.indexOf("msie5")==-1&&agent.indexOf("win")!=-1&&url.indexOf('http://')==0){winReference=window.open('about:blank',name,properties);setTimeout('if (winReference && !winReference.closed) winReference.location.replace("'+url+'")',300);}else{winReference=window.open(url,name,properties);}
setTimeout('if (winReference && !winReference.closed) winReference.focus()',200);if(openerName)self.name=openerName;return winReference;}
function closeDialog(dialog){if(dialog&&dialog.closed!=true)dialog.close();}
function closeParentDialog(){if(top.opener&&isWindowPopup(top.opener)){root=top.opener.top.opener;top.opener.close();top.opener=root;}}
function isWindowPopup(win){return((win.opener)?true:false);}
function jump(menu){var loc=menu[menu.selectedIndex].value.split("|");if(loc.length==2)window.open(loc[1],loc[0]);}
function TrackCount(fieldObj,countFieldName,maxChars){var countField=eval("fieldObj.form."+countFieldName);var diff=maxChars-fieldObj.value.length;if(diff<0){fieldObj.value=fieldObj.value.substring(0,maxChars);diff=maxChars-fieldObj.value.length;}
countField.value=diff;}
function LimitText(fieldObj,maxChars){var result=true;if(fieldObj.value.length>=maxChars)result=false;if(window.event)window.event.returnValue=result;return result;}
function toggleOnLoad(){var sa=document.getElementById("chkViewAll");if(typeof(IsPrinterFriendly)=="undefined")sa.checked=false;else sa.checked=true;}
function toggleAll(secCount,faqEntryCount){var sa=document.getElementById("chkViewAll");var ch=sa.checked;toggleQuestions(ch,secCount,faqEntryCount);}
function toggleQuestions(checked,secCount,faqEntryCount){for(var j=1;j<=secCount;j++){for(var i=1;i<=faqEntryCount;i++){var title=document.getElementById("title"+j+i);if(checked==true)expandQuestion("title"+j+i,"question"+j+i,"answer"+j+i);else collapseQuestion("title"+j+i,"question"+j+i,"answer"+j+i);}
if(checked==false){var sa=document.getElementById("chkViewAll");sa.checked=false;}}}
function toggleQuestion(tName,qName,aName){var title=document.getElementById(tName);if(title==null)return;var ans=document.getElementById(aName);if(ans==null)return;var que=document.getElementById(qName);if(ans.style.display==''){if(que!=null)que.style.display='none';ans.style.display='none';var sa=document.getElementById("chkViewAll");sa.checked=false;}else{if(que!=null)que.style.display='';ans.style.display='';}}
function expandQuestion(tName,qName,aName){var title=document.getElementById(tName);if(title==null)return;var ans=document.getElementById(aName);if(ans==null)return;var que=document.getElementById(qName);if(que!=null)que.style.display='';ans.style.display='';}
function collapseQuestion(tName,qName,aName){var title=document.getElementById(tName);if(title==null)return;var ans=document.getElementById(aName);if(ans==null)return;var que=document.getElementById(qName);if(que!=null)que.style.display='none';ans.style.display='none';}
function toggle(tName,qName,aName){var title=document.getElementById(tName);if(title==null)return;var ans=document.getElementById(aName);if(ans==null)return;var que=document.getElementById(qName);if(ans.style.display==''){if(que!=null)que.style.display='none';ans.style.display='none';title.style.display='';}else{if(que!=null)que.style.display='';ans.style.display='';title.style.display='none';}}