var root='http://www.hr-survey.com/'
var MainTextBoxWidth=780;
var MinorTextBoxWidth=780;
var Colors=new Array('#22B14C','#A8E61D');
var Colors=new Array('#FF6666','#BBDDFF');

// Define SideContent Topics
var b=0;
var Portfolio=b++;
var TempDemoValue='';

function BuildPage() { beginBody(); }
function BuildGuideDoc(atx) { beginBody(); }
function beginBody(pageTitle,Content) { 
  BeginFrameWithLogo(pageTitle);
  //BeginBodyCell(Content);
}
function beginDemoBody(demoTitle,demoList) { 
  BeginFrameWithLogo(demoTitle);
  var Content='Other Demos<hr>';   //+ThinDemoList(demoList);
  //BeginBodyCell(Content);
}
function beginBodyNoMenu() { 
  BeginFrameWithLogo();
  document.writeln('</td></tr></table>')
  document.writeln('<table border=0 width="'+MinorTextBoxWidth+'" cellpadding=0 cellspacing=0>')
  //BeginBodyCell();
}

///////////////////////
//  2009 GENERICS
///////////////////////
var d=document;
function dw(st4) { d.write(st4); }
function MenuItem(DivID,ContentID,Label){ 
  this.DivID=DivID; 
  this.ContentID=ContentID; 
  this.Label=Label; 
  this.NeedToFade=false; 
  this.Opacity=100;
}
function UserInterfaceStruct() {
  this.BaseMenuFont='normal 10pt verdana, ariel, san-serif;'
  this.BaseLogoFont='normal 12pt verdana, ariel, san-serif;'
  this.LogoTop=10;
  this.ClientLoginTop=5;
  this.ContentTop=80;
  this.ContentScrapeFactor=5;  // could be 1 to 10 where these are increments in percentages
  this.ContentScrapeSpeed=5;  // Where 10=1 second to scrape and 20=2 seconds to scrape
  this.MenuTop=32;
  this.MenuLeft=160;
  this.MenuHeight=40;
  this.MenuItemWidth=45;
  this.MenuBeingFaded=-1;
  this.Menu=new Array();
  this.Menu[this.Menu.length]=new MenuItem('mnuHome',     'cntHome',     'Home');
  this.Menu[this.Menu.length]=new MenuItem('mnu360Degree','cnt360Degree','360&deg; Degree Feedback');
  this.Menu[this.Menu.length]=new MenuItem('mnuEmpSurvey','cntEmpSurvey','Employee Opinion Survey')
  this.Menu[this.Menu.length]=new MenuItem('mnuTraining', 'cntTraining', 'Training Needs Analysis')
  this.Menu[this.Menu.length]=new MenuItem('mnuHRAudit',  'cntHRAudit',  'HR Audit')
}
var UserInterface=new UserInterfaceStruct();
var opera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false

///////////////////////
//  2009 LOGO
///////////////////////
dw('<DIV ID="O1" style="position:absolute; z-index:20; left:0; top:0;width:10;height:10;visibility:visible;">&#8226;</DIV>');
dw('<DIV ID="O2" style="position:absolute; z-index:21; left:0; top:0;width:10;height:10;visibility:visible;color:#333333;">&#8226;</DIV>');
dw('<DIV ID="O3" style="position:absolute; z-index:22; left:0; top:0;width:10;height:10;visibility:visible;color:#666666;">&#8226;</DIV>');
dw('<DIV ID="O4" style="position:absolute; z-index:23; left:0; top:0;width:10;height:10;visibility:visible;color:#999999;">&#8226;</DIV>');
function LogoStruct(txt) {
  this.Text= txt;
  this.IsOval=true;
  this.Points=new Array();
  this.OrbitalInterval=0;
  this.radius=0;  // set in function ResetRadius.  Oval has bigger radius than circle
  this.dotSpread=5;
  this.elem=this.dotSpread*3;
  this.Top=0;
  this.Left=0;
  this.CenterV=0;
  this.CenterH=0;
  this.Fast=15;
  this.Slow=50;
  sc=function(s,c) { this.Sin=s; this.Cos=c; this.Opacity=(s*1>0 && c*1>.6)?0.4:1.0;}
  for(degree=0,i=0;degree<360;degree+=5,i++) this.Points[i]=new sc(Math.sin(degree*Math.PI/180),Math.cos(degree*Math.PI/180));
  d.write('<DIV ID="LogoDiv" STYLE="position:absolute;top:'+UserInterface.LogoTop+';left:30;width:120;border:solid 0px black;font:normal 12pt verdana, ariel, san-serif;cursor:hand;" onMouseOver="setCircle();showMenu(0);" onMouseOut="setOval();" >'+this.Text+'</DIV>');
  DePix=function(dpx) { return dpx.replace(/px/,'')*1; }
  this.Top=DePix(d.getElementById("LogoDiv").style.top);
  this.Left=DePix(d.getElementById("LogoDiv").style.left);
  this.CenterV=this.Top+DePix(d.getElementById("LogoDiv").style.height)/2;
  this.CenterH=this.Left+DePix(d.getElementById("LogoDiv").style.width)/2;
  // initialize the member function references
  this.setOval = setOval;
  this.setCircle = setCircle;
  d.getElementById("LogoDiv").style.font=UserInterface.BaseLogoFont;
}
function setOval() { Logo.IsOval=true; Logo.ResetRadius(); ResetOrbitalInterval(); }
function setCircle(){Logo.IsOval=false;Logo.ResetRadius(); ResetOrbitalInterval(); }
// Declare public prototype functions
LogoStruct.prototype.ResetRadius=function() { this.radius=(this.IsOval) ? 20 : 15; }
LogoStruct.prototype.ShowDot=function(divID,elemID) { 
  elemIDptr=elemID % this.Points.length;
  thisPoint=this.Points[elemIDptr];
  rad=this.radius;
  thisDot=d.getElementById(divID);
  thisOpacity=(divID.indexOf('O4')==0) ? 0.4: thisPoint.Opacity;
  thisDot.style.top =this.CenterV*1+(rad*thisPoint.Sin*( this.IsOval ? 0.8 : 1.0 ) - (rad*thisPoint.Cos/3) * ( this.IsOval ? 1 : 0 ));
  thisDot.style.left=(this.CenterH*1)+(rad*thisPoint.Cos*( this.IsOval ? 1.5 : 1.0 ));
  thisDot.style.opacity=thisOpacity;
  thisDot.style.MozOpacity=thisOpacity;
  thisDot.style.filter="alpha(opacity=" + (thisOpacity*100) + ")";  // for IE
}
var Logo=new LogoStruct('hr-survey.com');
function ResetOrbitalInterval() { if(Logo.OrbitalInterval) clearInterval(Logo.OrbitalInterval); Logo.OrbitalInterval=setInterval( "Orbit()", (Logo.IsOval) ? Logo.Slow : Logo.Fast ); }
function Orbit() { 
  Logo.elem++; 
  for(i=1;i<=4;i++) Logo.ShowDot("O"+i,Logo.elem-(i-1)*Logo.dotSpread); 
}




//////////////////////////////////////////////////////////////////////////////////
//
// GENERIC FUNCTIONS
//
//////////////////////////////////////////////////////////////////////////////////
function crlf() {  return '\r\n'; }
function BeginFrameWithLogo(pageTitle) {
  document.writeln('<form><table border=0 width="100%" cellpadding=0 cellspacing=0>')
  document.writeln('<tr bgcolor="'+Colors[0]+'"><td width='+UserInterface.MenuLeft+' height='+UserInterface.MenuHeight+'><div ID="mnuHome" ></div>');
  Logo.setOval();
  document.writeln('</td>')
  document.writeln('<td valign=center><div ID="mnu360Degree" onMouseOver="showMenu(1);" CLASS="MainMenu">360&deg; Feedback</div></td>')
  document.writeln('<td valign=center><div ID="mnuEmpSurvey" onMouseOver="showMenu(2);" CLASS="MainMenu">Employee Opinion Survey</div></td>')
  document.writeln('<td valign=center><div ID="mnuTraining" onMouseOver="showMenu(3);" CLASS="MainMenu">Training Needs Analysis</div></td>')
  document.writeln('<td valign=center><div ID="mnuHRAudit" onMouseOver="showMenu(4);" CLASS="MainMenu">HR Audit Survey</div></td>')
  document.writeln('<td align=right><INPUT TYPE=BUTTON onClick="document.location=\'http://www.hr-survey.com/users/login.cgi\';" VALUE="Client Login"></td>')
  document.writeln('</tr></table></form>');
}

function BeginBodyCell(NavigationContent) {
  return;
  //document.writeln('<table border=0 cellpadding=10 cellspacing=0><tr>')
  //document.writeln('<td valign=top width=110 bgcolor="#ffffff">')
  //document.writeln('<div ID="LeftMargin" style="POSITION: relative; TOP:0; left:0; width:110; font-family:verdana; color:black; font-size: 10pt; font-weight: normal; padding:4px; border:0px solid black; z-index: 5; filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr=\'#00ffffff\', startColorstr=\'#FFBBDDFF\', gradientType=\'1\');">');
  //document.writeln('<img src=http://www.hr-survey.com/images/spacer.gif width=110 height=225 border=0>')
  //if(NavigationContent) document.writeln(NavigationContent);
  //document.writeln('<img src=http://www.hr-survey.com/images/spacer.gif width=110 height=225 border=0>')
  //document.writeln('</div>')
  //document.writeln('</td>')
  document.writeln('<td valign=top style="padding:10px; border-left:1px solid black;">')
}
function EndBodyTable() { 
  return;
  //document.writeln('</td></tr></table>'); 
}

//////////////////////////////////////////////////////////////////////////////////
//
// DEPRECATED FUNCTIONS
//
//////////////////////////////////////////////////////////////////////////////////
function BeginBodyTable() { document.writeln('<table cellpadding="10" cellspacing="0" ><tr><td valign="top" bgcolor="'+Colors[1]+'" width=85%>'); }
function InitMenus() { }

///////////////////////
//  2009 Functions
///////////////////////
function WindowSize() {	
  var wh=0; var ww=0;
  if(d.all){
    ww=d.body.clientWidth;
    wh=d.body.clientHeight;
  }else{
    ww=window.innerWidth;
    wh=window.innerHeight;
  }
  if(opera){ww=window.innerWidth;wh=window.innerHeight;}
  this.Width=ww;
  this.Height=wh;
}
function SaveTempDV() {
  try {
    if(isDefined(TempDemoValue)) setCookie('TempDemoValue',TempDemoValue,1);
  } catch(err) {
    setCookie('TempDemoValue','',1);
  }
}
function isDefined(variable){
  return (typeof(variable) !== 'undefined') ? true : false;
}
function GoToPage(c1,c2,c3) { document.location=c1+( isDefined( c3) ? '?'+c2+'='+c3 : '' ); }
function SetBgColor(obj,clr) { obj.style.background=clr; }
dw('<div ID="cntHome"      CLASS="MenuChapter" onMouseOver="showMenu(0);" onMouseOut="beginFadingMenu(0,event);" >');
  dw('<DIV CLASS="SubParagraph">HR-Survey, LLC is a web based Application Service Provider that facilitates your employee surveys.')
  dw('If you are looking for a unique capabilities in survey design and administration you have come to the right place. ')
  dw('We specialize in the creation, deployment, administration, and analysis of Human Resources surveys.</DIV>')
  dw('<SPAN CLASS="HBar"></SPAN>')
  dw('<table width=80%><tr><td valign=top>')
  dw('<INPUT TYPE=BUTTON VALUE="Portfolio" onMouseOver="DemoDesc(this,\'HomeDesc\',\'PortfolioButtons\');" CLASS="Button200"><br>')
  dw('<INPUT TYPE=BUTTON VALUE="Privacy Statement" onMouseOver="DemoDesc(this,\'HomeDesc\',\'Privacy\');"  CLASS="Button200"><br>')
  dw('<INPUT TYPE=BUTTON VALUE="Clients" onMouseOver="DemoDesc(this,\'HomeDesc\',\'ClientList\');"         CLASS="Button200">')
  dw('</td><td valign=top width=70%>')
  dw('<DIV ID="HomeDesc"></DIV>')
  dw('</td></tr></table>')
dw('</div>');

dw('<div ID="cnt360Degree" CLASS="MenuChapter" onMouseOver="showMenu(1);" onMouseOut="beginFadingMenu(1,event);" >');
  dw('<table width=95%><tr><td valign=top width="350">');
  //dw('<DIV CLASS="SubParagraph" onMouseOut=";">');
  dw('<H3>Create Your Own Survey</H3>');
  dw('If you are interested in developing a 360 Feedback Questionnaire, this would be a good place to get started. ');
  dw('Click the link below to access our custom questionnaire program. This will display a form containing a list of items. ');
  dw('Just select the items you want included on your questionnaire and follow the instructions on the form. <br>');
  dw('<a href=Create360Quest.htm>Begin Here</a><P>');
  //dw('</DIV>');
  dw('');
  //dw('<DIV CLASS="SubParagraph" onMouseOut=";">');
  dw('<H3>Account Request</H3>');
  dw('<a href=AccountRequest.htm>Request Account Here</a><P>');
  //dw('</DIV>');
  dw('');
  dw('</td><td valign=top  width="100">');
  dw('<H3>Demos</H3>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 1"  onClick="document.location=\''+root+'sd360aq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360a\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 2"  onClick="document.location=\''+root+'sd360bq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360b\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 3"  onClick="document.location=\''+root+'sd360cq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360c\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 4"  onClick="document.location=\''+root+'sd360dq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360d\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 5"  onClick="document.location=\''+root+'sd360eq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360e\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 6"  onClick="document.location=\''+root+'sd360gq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360g\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 7"  onClick="document.location=\''+root+'sd360hq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360h\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 8"  onClick="document.location=\''+root+'sd360iq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360i\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 9"  onClick="document.location=\''+root+'sd360jr.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360j\');"  CLASS="Button"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 10" onClick="document.location=\''+root+'sd360mq.htm\';" onMouseOver="DemoDesc(this,\'Demo360Desc\',\'sd360m\');"  CLASS="Button"><br>');
  dw('');
  dw('</td><td valign=top  >');
  dw('<SPAN ID="Demo360Desc" CLASS="SubContent" onMouseOut=";"></SPAN>');
  dw('</td></tr></table>');
dw('</div>');
dw('<div ID="cntEmpSurvey" CLASS="MenuChapter" onMouseOver="showMenu(2);" onMouseOut="beginFadingMenu(2,event);" ><b>EOS Content</b>');
  dw('<table width=95%><tr><td valign=top width="350">');
  dw('<DIV CLASS="SubParagraph">');
  dw('<H3>Create Your Own Survey</H3>');
  dw('If you are interested in developing an Employee Opinion Survey, this would be a good place to get started. ');
  dw('Click the link below to access our custom questionnaire program. This will display a form containing a list of items. ');
  dw('Just select the items you want included on your questionnaire and follow the instructions on the form. <br>');
  dw('<a href=CreateEOQuest.htm>Begin Here</a><P>');
  dw('</DIV>');
  dw('');
  dw('<DIV CLASS="SubParagraph">');
  dw('<H3>Account Request</H3>');
  dw('<a href=AccountRequest.htm>Request Account Here</a><P>');
  dw('</DIV>');
  dw('');
  dw('</td><td valign=top width="100">');
  dw('<H3>Demos</H3>');
  dw('<INPUT TYPE=BUTTON VALUE="Demos"      onClick="document.location=\''+root+'sdeoaq.htm\';"           onMouseOver="DemoDesc(this,\'DemoEOSDesc\',\'sdeoa\');"           CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Validation" onClick="document.location=\''+root+'PfRequiredInput.htm\';"  onMouseOver="DemoDesc(this,\'DemoEOSDesc\',\'PfRequiredInput\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Follow-up"  onClick="document.location=\''+root+'PfFollowUp.htm\';"       onMouseOver="DemoDesc(this,\'DemoEOSDesc\',\'PfFollowUp\');"      CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Results"    onClick="document.location=\''+root+'sdeoar.htm\';"           onMouseOver="DemoDesc(this,\'DemoEOSDesc\',\'sdeob\');"           CLASS="Button100"><br>');
  dw('');
  dw('');
  dw('</td><td valign=top>');
  dw('<DIV ID="DemoEOSDesc" CLASS="SubContent" onMouseOut=";"></DIV>');
  dw('</td></tr></table>');
dw('</div>');
dw('<div ID="cntTraining"  CLASS="MenuChapter" onMouseOver="showMenu(3);" onMouseOut="beginFadingMenu(3,event);" ><b>Training Content</b>')
  dw('<table width=95%><tr><td valign=top width="250" align=center>');
  dw('<H3>Demos</H3>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 1" onClick="document.location=\''+root+'sdtn1q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtna\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 2" onClick="document.location=\''+root+'sdtn2q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtnb\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 3" onClick="document.location=\''+root+'sdtn3q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtnc\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 4" onClick="document.location=\''+root+'sdtn4q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtnd\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 5" onClick="document.location=\''+root+'sdtn5q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtne\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 6" onClick="document.location=\''+root+'sdtn6q.htm\';" onMouseOver="DemoDesc(this,\'DemoTNADesc\',\'sdtnf\');" CLASS="Button100"><br>');
  dw('<br><br><br><br>');
  dw('<a href=AccountRequest.htm>Request Account</a><P>');
  dw('</td><td valign=top>');
  dw('<DIV ID="DemoTNADesc" CLASS="SubContent"></DIV>');
  dw('</td></tr></table>');
dw('</div>');
dw('<div ID="cntHRAudit"   CLASS="MenuChapter" onMouseOver="showMenu(4);" onMouseOut="beginFadingMenu(4,event);" ><b>HR Audit Content</b>');
  dw('<table width=95%><tr><td valign=top width="250" align=center>');
  dw('<H3>Demos</H3>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 1" onClick="document.location=\''+root+'sdHRAudit1.htm\';" onMouseOver="DemoDesc(this,\'DemoHRADesc\',\'sdhra\');" CLASS="Button100"><br>');
  dw('<INPUT TYPE=BUTTON VALUE="Demo 2" onClick="document.location=\''+root+'sdHRAudit2.htm\';" onMouseOver="DemoDesc(this,\'DemoHRADesc\',\'sdhrb\');" CLASS="Button100"><br>');
  dw('<br><br><br><br>');
  dw('<a href=AccountRequest.htm>Request Account</a><P>');
  dw('</td><td valign=top>');
  dw('<DIV ID="DemoHRADesc" CLASS="SubContent"></DIV>');
  dw('</td></tr></table>');
dw('</div>');

  dw('<DIV id="PortfolioButtons" CLASS="Content">');
  dw(' <table width=95%><tr><td valign=top>');
  dw(' <INPUT TYPE=BUTTON VALUE="Required Input" onClick="document.location=\''+root+'PfRequiredInput.htm\';"  onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfRequiredInput\');" CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Dynamic Lists"  onClick="document.location=\''+root+'PfDynamicLists.htm\';"   onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfDynamicLists\');"  CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Follow Up"      onClick="document.location=\''+root+'PfFollowUp.htm\';"       onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfFollowUp\');"      CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Spreadsheet"    onClick="document.location=\''+root+'PfSpreadsheet.htm\';"    onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfSpreadsheet\');"   CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Matrix"         onClick="document.location=\''+root+'PfMatrix.htm\';"         onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfMatrix\');"        CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Languages"      onClick="document.location=\''+root+'PfLanguages.htm\';"      onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfLanguages\');"     CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Slider Bar"     onClick="document.location=\''+root+'PfSlider.htm\';"         onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfSlider\');"        CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Rating Scales"  onClick="document.location=\''+root+'PfRatingScales.htm\';"   onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfRatingScales\');"  CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Two Scales"     onClick="document.location=\''+root+'PfTwoScales.htm\';"      onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfTwoScales\');"     CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Four Scales"    onClick="document.location=\''+root+'PfFourScales.htm\';"     onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfFourScales\');"    CLASS="Button120"><br>');
  dw(' <INPUT TYPE=BUTTON VALUE="Quarterly"      onClick="document.location=\''+root+'PfQuarterly.htm\';"      onMouseOver="DemoDesc(this,\'PortfolioDesc\',\'PfQuarterly\');"     CLASS="Button120"><br>');
  dw(' </td><td valign=top><DIV ID="PortfolioDesc" CLASS="SubContent"></DIV>');
  dw(' </td></tr></table>');
  dw('</DIV>');
  dw('<DIV id="PfFourScales" CLASS="Content">');
  dw(' Surveys can be designed to use multiple scales such as: Responsiveness, Timeliness, Expertise, and Clarity.  <p>Click <a href="PfFourScales.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfTwoScales" CLASS="Content">');
  dw(' Surveys can be designed to use multiple scales such as: Frequency and Effectiveness.  <p>Click <a href="PfTwoScales.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfQuarterly" CLASS="Content">');
  dw(' Surveys can be conducted on a quarterly basis where the scores from previous quarters can be shown to act as a guide (or reference point) for making the current assessments.  <br>Click <a href="PfQuarterly.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfLanguages" CLASS="Content">');
  dw(' We have conducted surveys in 18 different languages including: <br><table cellpadding=8><tr><td valign=top>English<br><a href="exFrench1.htm">French</a><br>Dutch<br><a href="exSpanish.htm">Spanish</a><br>Italian</td><td valign=top>German<br>Polish<br>Slovak<br>Romanian<br>Portuguese<br>Turkish</td><td valign=top><a href="exArabic.htm">Arabic</a><br>Hebrew<br>Japanese<br>Korean<br>Thai</td><td valign=top>Mandarin Chinese<br>Bhasa.</td></tr></table><br>Click <a href="PfLanguages.htm">here</a> if you would like to see examples.</DIV>');
  dw('<DIV id="PfRatingScales" CLASS="Content">');
  dw(' You are not limited to a few rating scales.  We can create any scale needed. <p>Click <a href="PfRatingScales.htm">here</a> to see 20 different types of rating scales.</DIV>');
  dw('<DIV id="PfSlider" CLASS="Content">');
  dw(' Ratings can be made by methods other than checking a box or circle.  You can use a slider bar to make ratings that range in point values from 0 to 100.<p>Click <a href="PfSlider.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfMatrix" CLASS="Content">');
  dw(' Sometimes it may be easier to rate multiple individuals at the same time rather than access separate forms for each employee. In the example below, you can rate ten employees at the same time.<p>Click <a href="PfMatrix.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfSpreadsheet" CLASS="Content">');
  dw(' Sometimes it may be easier to rate multiple individuals at the same time rather than access separate forms for each employee. In the example below, you can rate ten employees at the same time.<p>Click <a href="PfSpreadsheet.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfFollowUp" CLASS="Content">');
  dw(' Your survey can utilize follow-up questions that may appear depending on your responses to certain items on the survey.  For example, if a participant indicates they do not perform something that you would expect, the questionnaire can prompt the participant for more information about this.<p>Click <a href="PfFollowUp.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfDynamicLists" CLASS="Content">');
  dw(' A questionnaire can use input from one of the items to alter the characteristics of other items. For example, you could select a Location and then based on that selection, the computer will generate a list of departments at that location for you to select from. <p>Click <a href="PfDynamicLists.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="PfRequiredInput" CLASS="Content">');
  dw(' A questionnaire can be validated before the information is submitted through the internet. For example, the computer will check your responses before submitting them. If you have neglected to respond to one or more of the items, the computer will let you know which items you skipped by highlighting them in yellow to give you an opportunity to go back and respond to the items you skipped. <p>Click <a href="PfRequiredInputExample1.htm">here</a> if you would like to see an example.</DIV>');
  dw('<DIV id="Privacy" CLASS="Content">');
  dw(' Protection of any personal information gathered by HR-Survey.com is top priority.<P>');
  dw(' <B><i>Notice</i></b> ');
  dw(' HR-Survey.com does not collect personal or confidential information such as phone numbers, etc. .');
  dw(' HR-Survey may request names and email addresses from a client for the purpose of facilitating ');
  dw(' the survey via email.  Names and email addresses are never used for marketing and under no circumstances will ');
  dw(' HR-Survey.com release such information to any third party.  HR-Survey recognizes that');
  dw(' employee information is private, confidential, and is propietary information and property of ');
  dw(' the client.<P>');
  dw(' Click <a href="PrivacyPolicy.htm">here</a> for more information about privacy.');
  dw('</DIV>');
  dw('<DIV id="ClientList" CLASS="Content">');
  dw('<table width=80% cellpadding=12><tr><td valign=top>');
  dw('<B>Healthcare</B><br>');
  dw('Summit Pointe<br>');
  dw('<nobr>Hamilton Healthsciences<br>');
  dw('Amgen<br>');
  dw('Crisis Center Tampa<br>');
  dw('Medtronic<br>');
  dw('Precision Dynamics Corp<br>');
  dw('Roche<br>');
  dw('<P>');
  dw('<B>Governmental</b><br>');
  dw('Forest Service<br>');
  dw('Rochester Public Utilities<br>');
  dw('</td><td valign=top>');
  dw('<B>Education</b><br>');
  dw('Oregon Health Sciences Univ<br>');
  dw('Colorado State Univ<br>');
  dw('<nobr>Alvord Unified School District<br>');
  dw('University of Northern Colorado<br>');
  dw('<P>');
  dw('<B>Services</b><br>');
  dw('ClubCorp<br>');
  dw('Farmers Insurance<br>');
  dw('Jackson National Life<br>');
  dw('Houston Zoo<br>');
  dw('Pacific Club<br>');
  dw('Progressive Gourmet<br>');
  dw('</td><td valign=top>');
  dw('<B>Financial</B><br>');
  dw('Fortis Investments<br>');
  dw('<nobr>Fidelity National Financial<br>');
  dw('<P>');
  dw('<B>Consulting</b><br>');
  dw('PayData<br>');
  dw('Performance Impact<br>');
  dw('Performance Insight<br>');
  dw('PriceWaterhouse<br>');
  dw('<P>');
  dw('<B>Industrial</B><br>');
  dw('ADS Transicoil<br>');
  dw('Bathfitter<br>');
  dw('<nobr>Falcon Plastics<br>');
  dw('WrSystems<br>');
  dw('WrC<br>');
  dw('Guttman Oil<br>');
  dw('L-3 Comm<br>');
  dw('QSC Audio<br>');
  dw('Xantrion<br>');
  dw('</td></tr></table>');
  dw('</DIV>');
  dw('');
  dw('<DIV id="sd360a" CLASS="Content">');
  dw(' <b>Comments</b> are often a very useful component of feedback collected.  This demo places an emphasis on the comment boxes.  <p>Click <a href="sd360aq.htm">here</a> to see this demo.<P>');
  dw(' <i>example:</i><br><TABLE border=0 cellpadding=8 cellspacing=0><TR><TD COLSPAN=2 bgcolor="#EEEEEE">Competency: <i>Accountability</i></TD></TR>');
  dw(' <TR><TD bgcolor="#EEEEEE">');
  dw(' <TABLE border=0><TR><TD >');
  dw(' <NOBR><INPUT TYPE=RADIO NAME="Q11" VALUE="4" >Excels/Role Model<BR>');
  dw(' <NOBR><INPUT TYPE=RADIO NAME="Q11" VALUE="3" >Fully Proficient<BR>');
  dw(' <NOBR><INPUT TYPE=RADIO NAME="Q11" VALUE="2" >Developing<BR>');
  dw(' <NOBR><INPUT TYPE=RADIO NAME="Q11" VALUE="1" >Needs Improvement<BR>');
  dw(' </TD><TD VALIGN=TOP>');
  dw(' </TD></TR></TABLE>');
  dw(' </td><td bgcolor="#D5E6FF"> Comments:<br>');
  dw(' <TEXTAREA NAME="Q1Comment" COLS="30" ROWS="4" WRAP=NONE ></TEXTAREA>');
  dw(' </td></tr></table>');
  dw('</DIV>');
  dw('<DIV id="sd360b" CLASS="Content">');
  dw(' <b>Personalized</b> - Questionnaire forms are easily personalized to the individual providing the feedback.  This demo shows how the participant\'s name is included in the instructions and items.  <p>Enter a name in the box below then click one of the example buttons.<P>');
  dw(' Enter Name: <INPUT TYPE=TEXT NAME=DemoPersonalized SIZE=20 VALUE="" onKeyUp="TempDemoValue=this.value" CLASS="TempDemoField" onFocus="SetBgColor(this,\'#ffff00\');" onBlur="SetBgColor(this,\'#ffffff\');">');
  dw(' <UL><i>examples:</i>');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 1" onClick="SaveTempDV();GoToPage(\''+root+'sd360bq.htm\',\'Participant\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 2" onClick="SaveTempDV();GoToPage(\''+root+'sd360fq.htm\',\'Participant\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 3" onClick="SaveTempDV();GoToPage(\''+root+'sd360gq.htm\',\'Participant\',TempDemoValue);" CLASS="Button">');
  dw(' </UL>');
  dw('</DIV>');
  dw('<DIV id="sd360c" CLASS="Content">');
  dw(' <b>Competencies</b> - Questionnaire forms usually contain items that are organized into different core competencies.  ');
  dw(' Core Competencies are areas that the organization has identified as critical to its success.');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360cq.htm">Questionnaire</a>');
  dw('  <LI><a href="sd360cr.htm">Results</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sd360d" CLASS="Content">');
  dw(' <b>Long</b> - Questionnaire forms usually contain 20 to 40 items.  However, we can accommodate larger questionnaires with 70 to 100 or even more items.  Please note that longer questionnaires usually take more time to complete.  Allow for 1 minute per item, if you are estimating how long it will take to complete your survey.  ');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360dq.htm">71 item Questionnaire</a>');
  dw('  <LI><a href="sd360fq.htm">86 item Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sd360e" CLASS="Content">');
  dw(' <b>Slidebar</b> - Responses to items do not always have to be 1 to 5 or 1 to 7.  How about 1 to 100?  A slider bar allows for an infinite level of responses.  ');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360eq.htm">Questionnaire using Slide Bars</a></UL>');
  dw('</DIV>');
  dw('<DIV id="sd360g" CLASS="Content">');
  dw(' <b>Not Applicable</b> - Sometimes participants do not feel comfortable responding to a particular item and yet they do not want to leave any of the items blank.  You can offer participants a response alternative of: "Not Applicable". ');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360gq.htm">Questionnaire using [Not Applicable]</a></UL>');
  dw('</DIV>');
  dw('<DIV id="sd360h" CLASS="Content">');
  dw(' <b>Column Header</b> - It is often necessary to repeat column headings after a few items.  In this example, the column headings are repeated every 9 items.');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360hq.htm">Questionnaire using Repeating Header</a></UL>');
  dw('</DIV>');
  dw('<DIV id="sd360i" CLASS="Content">');
  dw(' <b>Spreadsheet</b> - Sometimes it is easier to rate several individuals at the same time.  In this example, the data is collected using a spreadsheet format.');
  dw(' <p><i>example:</i><br>');
  dw('  <UL><LI><a href="sd360iq.htm">Spreadsheet Format</a></UL>');
  dw('</DIV>');
  dw('<DIV id="sd360j" CLASS="Content">');
  dw(' <b>Results</b> - Result documents are customized to your specifications.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sd360jr.htm">Example 1</a>');
  dw('  <LI><a href="sd360cr.htm">Example 2</a>');
  dw('  <LI><a href="sd360kr.htm">Example 3</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sd360m" CLASS="Content">');
  dw(' <b>Specific</b> - Here are a few examples of questionnaires for specific industries or occupational levels. ');
  dw(' <p><i>example:</i><br><UL>');
  dw('  <LI><a href="sd360mq.htm">Medical Professional</a>');
  dw('  <LI><a href="sd360nq.htm">Executive / Leader</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdeoa" CLASS="Content">');
  dw(' <b>Personalized</b> - Questionnaire forms are easily personalized to your company information.  This demo shows how your company\'s name is included in the instructions and items.  <p>Enter your company\'s name in the box below then click one of the example buttons.<P>');
  dw(' Enter Name: <INPUT TYPE=TEXT NAME=DemoPersonalized SIZE=20 VALUE="" onKeyUp="TempDemoValue=this.value" CLASS="TempDemoField" onFocus="SetBgColor(this,\'#ffff00\');" onBlur="SetBgColor(this,\'#ffffff\');">');
  dw(' <UL><i>examples:</i>');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 1" onClick="SaveTempDV();GoToPage(\''+root+'sdeoaq.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 2" onClick="SaveTempDV();GoToPage(\''+root+'sdeobq.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 3" onClick="SaveTempDV();GoToPage(\''+root+'sdeocq.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 4" onClick="SaveTempDV();GoToPage(\''+root+'sdeodq.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' </UL>');
  dw('</DIV>');
  dw('<DIV id="sdeob" CLASS="Content">');
  dw(' <b>Results</b> - Result documents are customized to your specifications.  The basic format for result documents includes a cover page, executive summary, summary by dimensions, ranking of all itmems, responses for each item, lists of comments, and top/bottom scores.  <p>Enter your company\'s name in the box below then click one of the example buttons.<P>');
  dw(' Enter Name: <INPUT TYPE=TEXT NAME=DemoPersonalized SIZE=20 VALUE="" onKeyUp="TempDemoValue=this.value" CLASS="TempDemoField" onFocus="SetBgColor(this,\'#ffff00\');" onBlur="SetBgColor(this,\'#ffffff\');">');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 1" onClick="SaveTempDV();GoToPage(\''+root+'sdeoar.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 2" onClick="SaveTempDV();GoToPage(\''+root+'sdeobr.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 3" onClick="SaveTempDV();GoToPage(\''+root+'sdeocr.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' <LI><INPUT TYPE=BUTTON VALUE="Example 4" onClick="SaveTempDV();GoToPage(\''+root+'sdeodr.htm\',\'CompanyName\',TempDemoValue);" CLASS="Button">');
  dw(' </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtna" CLASS="Content">');
  dw(' <b>Item Formats</b><P>');
  dw('  This demo shows how a variety of item formats can be included on a single web-page questionnaire.<P> ');
  dw('  Results are instantly available as a dynamically generated web document. Results may include text, instructions, tables, charts, and a variety of analyses. Results may be displayed by department, location, or other employee classification. ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn1q.htm">Questionnaire</a>');
  dw('  <LI><a href="sdtn1r.htm">Results</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtnb" CLASS="Content">');
  dw(' <b>Ranking, Rating, and Suggestions</b><P>');
  dw('  This questionnaire uses a variety of formats including check boxes for ranking, radio buttons for rating, and text boxes for suggestions.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn2q.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtnc" CLASS="Content">');
  dw(' <b>Ranking, Rating, and Suggestions</b><P>');
  dw('  This questionnaire uses a variety of formats including check boxes for ranking, radio buttons for rating, and text boxes for suggestions.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn3q.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtnd" CLASS="Content">');
  dw(' <b>Six Sigma Readiness</b><P>');
  dw('  This demo can be part of your Skills assessment and training program. The assessment of training needs is accomplished through a questionnaire that focuses on four major skill competencies: Leadership, Business Operations, Customers, and Employee Involvement.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn4q.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtne" CLASS="Content">');
  dw(' <b>Skills Assessment</b><P>');
  dw('  This demo can be part of your Skills assessment and training program. The assessment of training needs is accomplished through a questionnaire that focuses on four major skill competencies: Work, People, Leadership, Business Operations, Customers, and Analytical.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn5q.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdtnf" CLASS="Content">');
  dw(' <b>Two Scales</b><P>');
  dw('  This demo uses two scales (Frequency and Effectiveness) to measure training needs.  Results from the scales are combined to identify 4 quadrants: High-Low, High-High, Low-High, Low-Low.');
  dw('  Training can be tailored toward individuals in specific quadrants.  ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdtn6q.htm">Questionnaire</a>');
  dw('  <LI><a href="sdtn6r.htm">Results</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdhra" CLASS="Content">');
  dw(' <b>HR Audit</b><P>');
  dw('  This is a demo of an on-line Human Resources Audit questionnaire. This type of questionnaire is useful for identifying strengths and weaknesses within the functions and processes of the Human Resources department. ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdHRAudit1.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');
  dw('<DIV id="sdhrb" CLASS="Content">');
  dw(' <b>HR Audit</b><P>');
  dw('  This is a demo of an on-line Human Resources Audit questionnaire. This type of questionnaire is useful for identifying strengths and weaknesses within the functions and processes of the Human Resources department. ');
  dw(' <UL>');
  dw(' <p><i>example:</i><br>');
  dw('  <LI><a href="sdHRAudit2.htm">Questionnaire</a>');
  dw('  </UL>');
  dw('</DIV>');

IntervalId=0;
function showMenu(m) {
  for(i=0;i<UserInterface.Menu.length;i++) { d.getElementById(UserInterface.Menu[i].ContentID).style.visibility='hidden'; d.getElementById(UserInterface.Menu[i].DivID).style.color='#000000'; d.getElementById(UserInterface.Menu[i].DivID).style.fontWeight='normal';}
  thisMenu=UserInterface.Menu[m];
  d.getElementById(thisMenu.ContentID).style.visibility='visible';
  d.getElementById(thisMenu.DivID).style.color='#ffffff';
  d.getElementById(thisMenu.DivID).style.fontWeight='bold';
  UserInterface.MenuBeingFaded=-1;
  thisMenu.NeedToFade=false;
  UserInterface.Menu[m].Opacity=100;
  adjustMenuOpacity(m,100)
  if(IntervalId) clearInterval(IntervalId);
}
function beginFadingMenu(Ndx,e) {
  if( (d.body.scrollTop*1+e.clientY*1)>(UserInterface.ContentTop+200) && UserInterface.Menu[Ndx].NeedToFade==false) {
    for(i=0;i<UserInterface.Menu.length;i++) {
      d.getElementById(UserInterface.Menu[i].ContentID).style.visibility = ((Ndx==i) ? 'visible' : 'hidden');
      m=UserInterface.Menu[i];
      m.NeedToFade=((Ndx==i) ? true : false );
      m.Opacity=100;  // Just reset them all
    }
    UserInterface.MenuBeingFaded=Ndx
    UserInterface.Menu[Ndx].Opacity=100;
    IntervalId=setInterval( "fadeThisMenu()", UserInterface.ContentScrapeSpeed );
  }
}
function fadeThisMenu() {
  Ndx=UserInterface.MenuBeingFaded;
  if(Ndx>=0) {
    op=UserInterface.Menu[Ndx].Opacity;
    if(op<=0) {
      clearInterval(IntervalId);
      UserInterface.MenuBeingFaded=-1
      UserInterface.Menu[Ndx].Opacity=100;
      UserInterface.Menu[Ndx].NeedToFade=false;
      document.getElementById(UserInterface.Menu[Ndx].ContentID).style.visibility='hidden';
    } else {
      adjustMenuOpacity(Ndx,op-UserInterface.ContentScrapeFactor);
    }
  }
}
function adjustMenuOpacity(i,o) {
  UserInterface.Menu[i].Opacity=o;
  document.getElementById(UserInterface.Menu[i].ContentID).style.opacity=o/100;
  document.getElementById(UserInterface.Menu[i].ContentID).style.filter="alpha(opacity=" + o + ")";  // for IE
}
//-------------------------------
// Cookie Jar
function setCookie(Name, Value, Days) {
   var today = new Date();
   var expire = new Date();
   expire.setTime(today.getTime() + 1000*60*60*24*Days);
   d.cookie = Name + "=" + escape(Value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()))
}
function getCookie(Name) {
  var search = Name + "="
  if (d.cookie.length > 0) { // if there are any cookies
    offset = document.cookie.indexOf(search) 
    if (offset != -1) { // if cookie exists 
      offset += search.length  // set index of beginning of value
      end = d.cookie.indexOf(";", offset) // set index of end of cookie value
      if(end == -1) end=d.cookie.length
      return unescape(d.cookie.substring(offset, end))
    } 
  }
}
//-------------------------------

///////////////////////////////////////////////////////
// Demo Descriptions
////////////////////
var oldDemoButton='';
var oldDemoButtonColor='';
function DemoDesc(ObjectID,DivID,DemoID) {
  if(oldDemoButton) oldDemoButton.style.backgroundColor=oldDemoButtonColor;
  if(ObjectID) { 
    oldDemoButton=ObjectID;
    oldDemoButtonColor=ObjectID.style.backgroundColor;
    ObjectID.style.backgroundColor='#ffff00';
  }
  switch(DemoID) {
  case 'sd360a':
  case 'sd360b':
  case 'sd360c':
  case 'sd360d':
  case 'sd360e':
  case 'sd360g':
  case 'sd360h':
  case 'sd360i':
  case 'sd360j':
  case 'sd360m':
  case 'sdeoa':
  case 'sdeob':
  case 'sdtna':
  case 'sdtnb':
  case 'sdtnc':
  case 'sdtnd':
  case 'sdtne':
  case 'sdtnf':
  case 'sdhra':
  case 'sdhrb':
  case 'PortfolioButtons':
  case 'PfRequiredInput':
  case 'PfFollowUp':
  case 'PfDynamicLists':
  case 'PfSpreadsheet':
  case 'PfMatrix':
  case 'PfFourScales':
  case 'PfTwoScales':
  case 'PfRatingScales':
  case 'PfLanguages':
  case 'PfQuarterly':
  case 'PfSlider':
  case 'Privacy':
  case 'ClientList':
  case 'PortfolioButtons':
    d.getElementById(DivID).innerHTML=d.getElementById(DemoID).innerHTML;
    break;

  default:
    d.getElementById(DivID).innerHTML='No description yet.';
  }
}

function ThinDemoList(theList) {
  var retVal='<BR>';
  for(j in theList) {
   ThisUrl =theList[j].url;
   if(ThisUrl.indexOf('www')<0) { ThisUrl="http://www.hr-survey.com/"+ThisUrl; }
   retVal+='<input type=button onClick="document.location=\''+ThisUrl+'\';" VALUE="  Demo '+(j*1+1)+'  "><br>';
  }
  return retVal;
}





















///////////////////////
//  2008 Functions
///////////////////////

function SideContent(x) {
  retVal='';
  return retVal;
}

function DrawMenuHeader(s) {
}
function DrawBeginMenuContent() {
}
function DrawEndMenuContent() {
}

function ShowLeftNavigation() {
  return;
}
function PopDemoHeader(thisTitle) {}
function PopDemoFooter() {}
function ShowAngledBox(LeftPos, MaxWidth, CornerPre, CornerPost, ULC, URC, LRC, LLC, BorderColor, BorderWidth, BoxBodyStyle, html) {}
function OldBeginFrameWithLogo() {}
function TopMenu() {}
function footer(NoMenu) { 
  document.writeln('</span><br>')
  document.writeln('</td></tr></table>')
  document.writeln('<table width=100%><tr><td height=2 bgcolor=#000000></td></tr>')
  document.writeln('<tr><td height=20 bgcolor=#ffffff></td></tr>')
  document.writeln('<tr><td><center>Need more information? Email: <a href="mailto:info@hr-survey.com">info@hr-survey.com</a>.<BR>')
  document.writeln('Request your survey <a href="'+root+'AccountRequest.htm">here</a>.')
  document.writeln('<BR><BR>&copy; Copyright 2008, HR-Survey, LLC<br><a href="http://www.hr-survey.com/LegalNotice.htm">Legal Notice</a>')
  document.writeln('</center><BR>')
  document.writeln('</TD></TR>')
  document.writeln('<tr><td valign=top bgcolor="#dddddd" align=center>')
  document.writeln('Web: <a href="http://www.hr-survey.com">www.hr-survey.com</a> &nbsp;&nbsp;&nbsp;Email: <a href="mailto:info@hr-survey.com">info@hr-survey.com</a><br>')
  document.writeln('Location: Pittsburgh, PA &nbsp;&nbsp;&nbsp;Phone: 412.371.9395 &nbsp;&nbsp;&nbsp;')
  document.writeln('Fax: 412.371.9252')
  document.writeln('</td></tr>')
  document.writeln('<tr><td height=2 bgcolor=#000000 colspan=5></td></tr>')
  document.writeln('<tr><td height=20 bgcolor=#ffffff colspan=5></td></tr>')
  document.writeln('</table>')
  return;
}
function GetWidth() { return 150; }
function ShowLogo() {}
function ImRoot() {
  if(InSubDir==1) return "../images/";
  if(InSubDir==2) return ImagePath;
  return "./images/";
}

////////////////////////////////////////////////////////////////////////////////
//
// Demos
//
////////////////////////////////////////////////////////////////////////////////
var FDTitle     ='360 Degree Feedback Surveys'    // Used in page headers
var FDDemoTitle ='360 Degree Feedback Survey Demo'// Used in page headers
var EODemoTitle ='Employee Opinion Survey Demo'   // Used in page headers
var HRDemoTitle ='HR Audit Demo'                  // Used in page headers
var TNADemoTitle='Training Needs Analysis Demo'   // Used in page headers

function ShowDemoList(aName,Header,theList) {
  document.write('<BR><a name='+aName+'></a><P CLASS="SectionHeader">'+Header+'</P><TABLE WIDTH="500"><TR><TD>')
  for(j in theList) {
   ThisUrl =theList[j].url;
   if(ThisUrl.indexOf('www')<0) { ThisUrl="http://www.hr-survey.com/"+ThisUrl; }
   document.writeln('<input type=button onClick="document.location=\''+ThisUrl+'\';" VALUE="  '+(j*1+1)+'  ">'+theList[j].mtext+'<P>')
  }
  document.write('</TD></TR></TABLE>')
}
function ThinDemoList2(theList) {
  var retVal='';
  for(j in theList) {
   var ThisUrl='';
   var ThisLbl='';
   ThisUrl =theList[j][0];
   ThisLbl =theList[j][1];
   if(ThisUrl.indexOf('www')<0) { ThisUrl="http://www.hr-survey.com/"+ThisUrl; }
   retVal+='<input type=button onClick="document.location=\''+ThisUrl+'\';" VALUE="'+ThisLbl+'" style="width:120px;"><br>';
  }
  return retVal;
}


var MyTarget=(parent.frames.length!=0)?'target="Main"':'target="_top"';
function sm_menu (url,stext,mtext) { this.url=url; this.stext=stext; this.mtext=mtext; }

EOMenu = new Array(); b=0
EOMenu[b++]=new sm_menu('sdeoaq.htm','Employee Opinion 1','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeobq.htm','Employee Opinion 2','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeocq.htm','Employee Opinion 3','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeodq.htm','Employee Opinion 4','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeoar.htm','Employee Opinion 5','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeobr.htm','Employee Opinion 6','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeocr.htm','Employee Opinion 7','Workplace Climate Survey.','target="_top"');
EOMenu[b++]=new sm_menu('sdeodr.htm','Employee Opinion 8','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea7.htm', 'Employee Opinion 1','Demonstrates the use of reverse scoring. Our software allows you to define the item stem, alternatives, and direction of the scoring of the item so that it may be properly scored before being included in scales and dimensions of items.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea8.htm', 'Employee Opinion 2','Make certain fields required.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea4.htm', 'Employee Opinion 3','This demo shows some of the graphic capabilities of the software. The questionnaire also incorporates the use of Frames and JavaScript help boxes. ','target="_top"');
//EOMenu[b++]=new sm_menu('sdea1.htm', 'Employee Opinion 4','Demonstrates how background images can be displayed along with animated images in the foreground.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea3.htm', 'Employee Opinion 5','Demonstrates use of required demographic items.  These items are useful for analyzing the data by division, department, service, location, job classification, or some other employee category.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea6.htm', 'Employee Opinion 6','Complex menus, java applications, flash animations, web images, and other technologies can be easily incorporated directly into the questionnaire.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea10.htm','Employee Opinion 7','The questionnaire can include introductory welcome messages.  Also you can add comments following each item.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea11.htm','Employee Opinion 8','Benefits Survey','target="_top"');
//EOMenu[b++]=new sm_menu('sdea12.htm','Employee Opinion 9','Demonstrates a questionnaire that contains various Item Alternatives.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea5.htm', 'Employee Opinion 10','Demonstrates a questionnaire that contains various Item Alternatives.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea13.htm','Employee Opinion 11','A short survey may work better for your organization.  This short survey has items with only two alternatives.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea14.htm','Employee Opinion 12','Foreign Languages.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea15.htm','Employee Opinion 13','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea18.htm','Employee Opinion 15','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea17.htm','Employee Opinion 14','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea20b.htm','Employee Opinion 18','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea20d.htm','Employee Opinion 19','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea20.htm','Employee Opinion 20','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea21.htm','Employee Opinion 21','Workplace Climate Survey.','target="_top"');
//EOMenu[b++]=new sm_menu('sdea22.htm','Employee Opinion 22','Survey of New Hires.','target="_top"');

TNMenu = new Array(); b=0
TNMenu[b++]=new sm_menu('sdtn1.htm', 'Training Needs 1','Demo 1.','target="_top"');
TNMenu[b++]=new sm_menu('sdtn2.htm', 'Training Needs 2','Demo 2.','target="_top"');
TNMenu[b++]=new sm_menu('sdtn3.htm', 'Training Needs 3','Demo 3.','target="_top"');
TNMenu[b++]=new sm_menu('sdtn4.htm', 'Training Needs 4','Demo 4.','target="_top"');
TNMenu[b++]=new sm_menu('sdtn5.htm', 'Training Needs 5','Demo 5.','target="_top"');
TNMenu[b++]=new sm_menu('sdtn6.htm', 'Training Needs 6','Demo 6.','target="_top"');

HRMenu = new Array(); b=0
HRMenu[b++]=new sm_menu('sdHRAudit1.htm', 'HR Audit 1','Demo 1.','target="_top"');
HRMenu[b++]=new sm_menu('sdHRAudit2.htm', 'HR Audit 2','Demo 2.','target="_top"');

SSMenu = new Array(); b=0
SSMenu[b++]=new sm_menu('sdss1.htm', 'Salary Survey 1','Demo 1.  Compensation and benefits surveys can be complex--containing dozens or hundreds of data entry fields of a variety of types.','target="_top"');
SSMenu[b++]=new sm_menu('sdss2.htm', 'Salary Survey 2','Demo 2.  Matrices are a common element of salary surveys.','target="_top"');
SSMenu[b++]=new sm_menu('sdss3.htm', 'Salary Survey 3','Demo 3.  This is a complex demo showing how data can be collected from multiple questionnaires.  This demo ties eight individual questionnaires into a single survey.','target="_top"');
SSMenu[b++]=new sm_menu('sdsb1.htm', 'Salary Survey 4','Demo 4.  This is a simple salary budget survey','target="_top"');
SSMenu[b++]=new sm_menu('sdss5.htm', 'Salary Survey 5','Demo 5.  This is a complex demo showing how data can be collected from a variety of item types.','target="_top"');
SSMenu[b++]=new sm_menu('sdss6.htm', 'Salary Survey 6','Demo 6.  This is a salary survey demo showing how wage data can be collected using matrices.','target="_top"');

FLMenu = new Array(); b=0
FLMenu[b++]=new sm_menu('exArabic.htm',  'Arabic Survey 1','Arabic.','target="_top"');
FLMenu[b++]=new sm_menu('exFrench1.htm', 'French Survey 1','French.','target="_top"');
FLMenu[b++]=new sm_menu('exFrench2.htm', 'French Survey 2','French.','target="_top"');
FLMenu[b++]=new sm_menu('exSpanish.htm', 'Spanish Survey 1','Spanish.','target="_top"');

FDMenu = new Array(); b=0
FDMenu[b++]  =new sm_menu('sd360aq.htm', '360 Degree Feedback 1', '360 Survey Demo 1'); FD3601 = 1;
FDMenu[b++]  =new sm_menu('sd360bq.htm', '360 Degree Feedback 2', '360 Survey Demo 2'); FD3602 = 1;
FDMenu[b++]  =new sm_menu('sd360cq.htm', '360 Degree Feedback 3', '360 Survey Demo 3'); FD3603 = 1;
FDMenu[b++]  =new sm_menu('sd360dq.htm', '360 Degree Feedback 4', '360 Survey Demo 4'); FD3604 = 1;
FDMenu[b++]  =new sm_menu('sd360eq.htm', '360 Degree Feedback 5', '360 Survey Demo 5'); FD3605 = 1;
FDMenu[b++]  =new sm_menu('sd360fq.htm', '360 Degree Feedback 6', '360 Survey Demo 6'); FD3606 = 1;
FDMenu[b++]  =new sm_menu('sd360gq.htm', '360 Degree Feedback 7', '360 Survey Demo 7'); FD3607 = 1;
FDMenu[b++]  =new sm_menu('sd360hq.htm', '360 Degree Feedback 8', '360 Survey Demo 8'); FD3608 = 1;
FDMenu[b++]  =new sm_menu('sd360iq.htm', '360 Degree Feedback 9', '360 Survey Demo 9'); FD3609 = 1;
//FDMenu[b++]  =new sm_menu('sd36010.htm','360 Degree Feedback 2', '360 Survey Demo 2'); FD36010= 2;
//FDMenu[b++]  =new sm_menu('sd3601.htm', '360 Degree Feedback 3', '360 Survey Demo 3'); FD3601 = 3;
//FDMenu[b++]  =new sm_menu('sd3602.htm', '360 Degree Feedback 4', '360 Survey Demo 4'); FD3602 = 4;
//FDMenu[b++]  =new sm_menu('sd3603.htm', '360 Degree Feedback 5', '360 Survey Demo 5'); FD3603 = 5;
//FDMenu[b++]  =new sm_menu('sd3605.htm', '360 Degree Feedback 6', '360 Survey Demo 6'); FD3605 = 6;
//FDMenu[b++]  =new sm_menu('sd3604.htm', '360 Degree Feedback 7', '360 Survey Demo 7'); FD3604 = 7;
//FDMenu[b++]  =new sm_menu('sd3606.htm', '360 Degree Feedback 8', '360 Survey Demo 8'); FD3606 = 8;
//FDMenu[b++]  =new sm_menu('sd3607.htm', '360 Degree Feedback 9', '360 Survey Demo 9'); FD3607 = 9;
//FDMenu[b++]  =new sm_menu('sd3608.htm', '360 Degree Feedback 10','360 Survey Demo 10');FD3608 =10;
//FDMenu[b++]  =new sm_menu('sd36011.htm','360 Degree Feedback 11','360 Survey Demo 11');FD36011=11;
//FDMenu[b++]  =new sm_menu('sd36012.htm','360 Degree Feedback 12','360 Survey Demo 12');FD36012=12;
//FDMenu[b++]  =new sm_menu('sd36013.htm','360 Degree Feedback 13','360 Survey Demo 13');FD36013=13;
//FDMenu[b++]  =new sm_menu('sd36014.htm','360 Degree Feedback 14','360 Survey Demo 14');FD36014=14;
//FDMenu[b++]  =new sm_menu('sd36015.htm','360 Degree Feedback 15','360 Survey Demo 15');FD36015=15;
//FDMenu[b++]  =new sm_menu('sd36018.htm','360 Degree Feedback 16','360 Survey Demo 16');FD36018=16;
//FDMenu[b++]  =new sm_menu('sd36019.htm','360 Degree Feedback 17','360 Survey Demo 17');FD36019=17;
//FDMenu[b++]  =new sm_menu('sd36020.htm','360 Degree Feedback 18','360 Survey Demo 18');FD36020=18;
//FDMenu[b++]  =new sm_menu('sd36021.htm','360 Degree Feedback 19','360 Survey Demo 19');FD36021=19;
//FDMenu[b++]  =new sm_menu('sd36022.htm','360 Degree Feedback 20','360 Survey Demo 20');FD36022=20;
//FDMenu[b++]  =new sm_menu('sd36023.htm','360 Degree Feedback 21','360 Survey Demo 21');FD36023=21;
//FDMenu[b++]  =new sm_menu('sd36024.htm','360 Degree Feedback 22','360 Survey Demo 22');FD36024=22;

function ShowEODemos(v1,v2) { 
  ShowDemo(v1,v2,EOMenu2); 
}
function GetEOURL(v1) { return EOMenu2[v1].url; }
function GetFDURL(v1) { return FDMenu[v1].url; }
function ShowFDDemos(v1,v2) { 
  ShowDemo(v1,v2,FDMenu); 
}
function GetTNURL(v1) { return TNMenu[v1].url; }
function ShowTNDemos(v1,v2) { 
  ShowDemo(v1,v2,TNMenu); 
}
function GetSSURL(v1) { return SSMenu[v1].url; }
function ShowSSDemos(v1,v2) { 
  ShowDemo(v1,v2,SSMenu); 
}
function GetFLURL(v1) { return FLMenu[v1].url; }
function ShowFLDemos(v1,v2) { 
  ShowDemo(v1,v2,FLMenu); 
}
function ShowDemo(t,n,m) {}




