var InSubDir; InSubDir=0;
var RingOn; RingOn=0;
function beginBody(atx) {
//  drawName(atx);
  BuildPage();
//  drawBar(atx);
}
//document.writeln('<TABLE BORDER=4 WIDTH="100%" cellpadding=4 cellspacing=0 bordercolor="#008AFB" bordercolorlight="#008AFB"><TR><TD VALIGN=TOP>'); }
function drawName(atx) {
  document.writeln('<FONT FACE=Arial><B><I><font size=5 color="#000000">HR-Survey.</font>')
  document.writeln('<font size=5 color="#FF0000">Com</font>')
  document.writeln('<font size=3 color="#000000"> </font>')
  document.writeln('&nbsp;&nbsp;&nbsp;<font size=5 color="#000000">Web-Based Surveys</font>');
  document.writeln('</I></B><font size=5><br clear=all></font>')
}
function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.bgColor = clrOver; }}
function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.bgColor = clrIn; }} 
function drawBar(atx) {
  document.writeln('<STYLE TYPE="text/css">')
  document.writeln('  A:link {text-decoration:underline;color:0000FF;font-family: arial, helvetica; font-size: 12px; font-weight:normal}')
  document.writeln('  A:hover{text-decoration:none;color:FF4444;font-family: arial, helvetica; font-size: 12px; font-weight:normal}')
  document.writeln('  A:active{text-decoration:underline;color:0000FF;font-family: arial, helvetica; font-size: 12px; font-weight:normal}')
  document.writeln('  A:visited{text-decoration:underline;color:0000FF;font-family: arial, helvetica; font-size: 12px; font-weight:normal}')
  document.writeln('</STYLE>')
  document.writeln('<A HREF="http://www.hr-survey.com/surveys.html" >Surveys</A>, <A HREF="http://www.hr-survey.com/WebTechnology.htm" >Web</A>, <A HREF="http://www.hr-survey.com/SurveyDemos.htm" >Demos</A> |')
  document.writeln('<A HREF="http://www.hr-software.net" >HR-Software.net</A> |')
  document.writeln('<A HREF="http://www.hr-guide.com/" >HR-Guide.com</A> |')
  document.writeln('<A HREF="http://www.hr-survey.com/" >HR-Survey.com</a><BR>')
}
function footer() { 
  document.writeln('<br><br><HR>')
  document.writeln('<center>Need more information? Email the: <a href="mailto:webmaster@hr-consultant.net">webmaster</a>.<BR>')
//  document.writeln('Request your survey <a href="http://www.hr-survey.com/AccountRequest.htm">here</a>.')
  document.writeln('<BR><BR><BR>')
  document.writeln('<Img src="http://www.hr-survey.com/images/hr-ringa.gif" border=0 height=47 width=100 onClick="if(RingOn==0){RingOn=1;}else{RingOn=0;}">')
  document.writeln('</center><BR>')
  document.write('</td></tr></table>')
  document.write('</td></tr></table>')
}
function CheckLogin() { 
  if ((document.dataform.UserName.value != '') && (document.dataform.Password.value != '')){
    document.dataform.action='http://'+document.dataform.UserName.value+':'+document.dataform.Password.value+'@'+'www.hr-survey.com/users/login.cgi';
    document.href=document.dataform.action
    return true;
  } else {
    alert('Please fill both Username and password in order to logon');
    return false;        
  }
}
function GetWidth() { return 150; }
function ShowLogo() {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table width='+MyWidth+' cellspacing=0 cellpadding=0 border=0>')
  document.write('<tr><td bgcolor="#d0d0ff">')
  document.write('   <table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="3" align=center>')
  document.write('   <tr><td valign=top width='+(MyWidth-22)+'>')
  document.write('<font face="verdana,arial" size=3><B>')
  document.write('HR-Software')
  document.write('<font color="#e04444" size=1>')
  document.write('.net')
  document.write('</font></font></b>')
  document.write('   </td></tr>')
  document.write('   </table>')
  document.write('</td></tr></table>')
}
function ImRoot() {
  if(InSubDir==1) return "../images/"; return "./images/";
}
function ShowNews() { 
//  return;
  var MyWidth;  MyWidth=GetWidth();
  document.write('<table width='+MyWidth+' cellspacing=0 cellpadding=0 border=0>')
  document.write('<tr><td bgcolor="#cfcfcf"><Font Size=1>')
  document.write('News from ZDNet<BR>')
  ShowZDNews()
  document.write('</font></td></tr></table>')
}
function ShowJoin(URL) {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="6"><tr>')
  document.write('<td width="'+MyWidth+'" bgcolor="#f5f5f5" valign="top">')
  document.write('  <font face="verdana,arial" size=2>Request Account</font><BR>')
  document.write('  <table border="0" cellpadding="0" cellspacing="0" width="'+(MyWidth-12)+'"><tr>')
  document.write('    <td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body" color="#669900"><font color="#669900">&#149;</font></font></td>')
  document.write('    <td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">100% Web Based</td><tr>')
  document.write('<tr><td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body"><font color="#669900">&#149;</font></font></td>')
  document.write('<td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">Access to your data 24/7</font></td></tr>')
  document.write('<tr><td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body" color="#669900"><font color="#669900">&#149;</font></font></td>')
  document.write('<td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">Built on fast SQL</font></td></tr>')
  document.write('<tr><td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body" color="#669900"><font color="#669900">&#149;</font></font></td>')
  document.write('<td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">More</font></td></tr>')
  document.write('</table>')
  document.write('<a href="'+URL+'"><img src="'+ImRoot()+'join_now.gif" vspace="5" border="0" WIDTH="78" HEIGHT="17"></a>')
  document.write('<BR></td></tr></table>')
}
function ShowHeader(Label,URL) {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="0"><tr>')
  document.write('<td width="13" bgcolor="#999999"><img src="'+ImRoot()+'sm_gray_button.gif" width=13 height=13 border=0 alt="Demos"></td>')
  document.write('<td width="4" bgcolor="#999999"><img src="'+ImRoot()+'transpacer.gif" width="2" height="1" border="0"></td>')
  document.write('<td bgcolor="#999999"><font face="arial, helvetica" size="-1" color="#ffffff" class="bar"><b>'+Label+'</b></font></td>')
  document.write('</tr></table>')
}
function ShowBBar(Label) {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="0">')
  document.write('<tr height=1><td bgcolor="#F1F1F1" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" height="1" border="0"></td>')
  document.write('<td bgcolor="#ECECEC"><img src="'+ImRoot()+'transpacer.gif" width="'+(MyWidth-2)+'" height="1" border="0"></td>')
  document.write('<td bgcolor="#DDDDDD" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" height="1" border="0"></td></tr>')
  document.write('<tr ><td bgcolor="#ECECEC" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" border="0"></td>')
  document.write('<td bgcolor="#E2E2E2" valign=center><img src="'+ImRoot()+'md_gray_button.gif" width="17" height="17" border="0">')
  document.write('<font face="verdana,arial" size=2>'+Label+'</font></td>')
  document.write('<td bgcolor="#B9B9B9" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" height="1" border="0"></td></tr>')
  document.write('<tr height=1><td bgcolor="#E0E0E0" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" height="1" border="0"></td>')
  document.write('<td bgcolor="#B9B9B9"><img src="'+ImRoot()+'transpacer.gif" width="'+(MyWidth-2)+'" height="1" border="0"></td>')
  document.write('<td bgcolor="#AFAFAF" width=1><img src="'+ImRoot()+'transpacer.gif" width="1" height="1" border="0"></td></tr>')
  document.write('</table>')
}
function ShowRing() {
  document.writeln('<TABLE BORDER=0 cellpadding=0 cellspacing=0 width="100%"><TR height="15" bgcolor="#f0f0ff"><td>')
  document.writeln('<TABLE BORDER=0 cellpadding=3 cellspacing=0><TR height="15" bgcolor="#f0f0ff">')
  document.writeln('<TD VALIGN=center ><font face="verdana,arial" size=2>Part of the <i>HR Ring</i>.</TD><TH>|</TH>')
  document.writeln('<TH VALIGN=center ><A HREF="http://www.hr-guide.com/compensation.htm" CLASS="D">Compensation</A></TH><TH>|</TH>')
  document.writeln('<TH VALIGN=center ><A HREF="http://www.hr-survey.com" CLASS="D">Surveys</A></TH><TH>|</TH>')
  document.writeln('<TH VALIGN=center ><A HREF="http://www.hr-guide.com/indexDocs.html" CLASS="D">Documents</A></TH><TH>|</TH>')
  document.writeln('<TH VALIGN=center ><A HREF="http://www.hr-guide.com/" CLASS="D">HR Guides</A></TH><TH>|</TH>')
  document.writeln('<TH VALIGN=center ><A HREF="http://www.job-analysis.net" CLASS="D">Job Analysis</A></TH><TH>|</TH>')
  document.writeln('<TD VALIGN=TOP bgcolor="#008AFB">&nbsp;</TD>')
  document.writeln('</TR></TABLE>')
  document.writeln('</TD></TR></TABLE>')
}
function ShowSoft(MyClass,WidthOverride) {
  var SpecClass;
  SpecClass=''
  if(MyClass.indexOf("E") >= 0) { SpecClass='CLASS="E"'; }
  var MyWidth;
  MyWidth=GetWidth();
  if(WidthOverride > MyWidth) MyWidth=WidthOverride;
var Demos
var b
b=0
Demos = new Array();
Demos[b++]=new Array('EEO','',1);
Demos[b++]=new Array('Disparate Impact Analysis','http://www.hr-software.net/EmploymentStatistics/DisparateImpact.htm',0);
Demos[b++]=new Array('Utilization Analysis','http://www.hr-software.net/EmploymentStatistics/UtilizationAnalysis.htm',0);
Demos[b++]=new Array('Testing','',1);
Demos[b++]=new Array('Item Analysis','http://www.hr-software.net/cgi/ItemAnalysis.cgi',0);
Demos[b++]=new Array('Theoretical Expectancy Calculator','http://www.hr-software.net/cgi/TheoreticalExpectancy.cgi',0);
Demos[b++]=new Array('Job Analysis','',1);
Demos[b++]=new Array('Create an On-line Position Description Questionnaire','http://www.hr-guide.com/data/G908.htm',0);
Demos[b++]=new Array('On-Line Action Verbs','http://www.hr-guide.com/data/G053.htm',0);
Demos[b++]=new Array('Job Evaluation','',1);
Demos[b++]=new Array('Ranking Method','http://www.hr-guide.com/data/G909.htm',0);
Demos[b++]=new Array('Point Method','http://www.hr-software.net/cgi/JobEvaluation.cgi',0);
Demos[b++]=new Array('Surveys','',1);
Demos[b++]=new Array('Salary Survey','http://www.hr-survey.com/SalarySurvey.htm',0);
Demos[b++]=new Array('Employee Attitude','http://www.hr-survey.com/',0);
Demos[b++]=new Array('Compensation','',1);
Demos[b++]=new Array('Wage/Hour Conversion Calculator','http://www.hr-guide.com/data/G917.htm',0);
Demos[b++]=new Array('Tax Withholding Calculator','http://www.pensoft.com/payroll_information/t_taxcalc.html',0);
Demos[b++]=new Array('Cost of Turnover Calculators','http://www.hr-software.net/pages/220.htm',0);
//Demos[b++]=new Array('','',0);
  document.write('<table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="6"><tr>')
  document.write('<td width="'+MyWidth+'" bgcolor="#f5f5f5" valign="top">')
//  document.write('  <font face="verdana,arial" size=2>Demos</font><BR>')
  document.write('  <table border="0" cellpadding="0" cellspacing="0" width="'+(MyWidth-12)+'">')
  for(i=0;i<b;i++) {
    document.write('<tr>')
    if(Demos[i][2]==1) {
      document.write('<td valign="top" COLSPAN=2><font face="Arial, helvetica" size="-2" class="body">')
      document.write(Demos[i][0]+'</td></tr>')
    } else {
      document.write('    <td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body" color="#669900"><font color="#669900">&#149;</font></font></td>')
      document.write('    <td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">')
      document.write('<a href="'+Demos[i][1]+'" ' + SpecClass +'>')
      document.write(Demos[i][0]+'</a></td></tr>')
    }
  }
  document.write('</table>')
  document.write('</td></tr></table>')
}
function ShowCats() {
  var MyWidth;  MyWidth=GetWidth();
  document.write('<table width='+MyWidth+' cellspacing=0 cellpadding=0 border=0>')
  document.write('<tr><td bgcolor="#cfcfcf"><Font Size=1>')
var SpecClass
SpecClass=''
var Demos
var b
b=0
Demos = new Array();
Demos[b++]=new Array('360 Feedback','http://www.hr-software.net/pages/215.htm',0);
Demos[b++]=new Array('Applicant Tracking','http://www.hr-software.net/pages/201.htm',0);
Demos[b++]=new Array('Compensation Admin','http://www.hr-software.net/pages/203.htm',0);
Demos[b++]=new Array('HRIS','http://www.hr-software.net/pages/206.htm',0);
Demos[b++]=new Array('Int. Voice Resp.','http://www.hr-software.net/pages/216.htm',0);
Demos[b++]=new Array('Intranets','http://www.hr-software.net/pages/012.htm',0);
Demos[b++]=new Array('Payroll','http://www.hr-software.net/pages/213.htm',0);
Demos[b++]=new Array('Personnel Scheduling','http://www.hr-software.net/pages/217.htm',0);
Demos[b++]=new Array('Time and Attendance','http://www.hr-software.net/pages/211.htm',0);
Demos[b++]=new Array('Benefits Admin','http://www.hr-software.net/pages/202.htm',0);
Demos[b++]=new Array('EEO Compliance','http://www.hr-software.net/pages/204.htm',0);
Demos[b++]=new Array('Surveys/Feedback','http://www.hr-software.net/pages/205.htm',0);
Demos[b++]=new Array('Emp. Self Serve','http://www.hr-software.net/pages/212.htm',0);
Demos[b++]=new Array('Job Posting/Recruitment','http://www.hr-software.net/pages/208.htm',0);
Demos[b++]=new Array('Org Charts','http://www.hr-software.net/pages/214.htm',0);
Demos[b++]=new Array('Testing/Selection','http://www.hr-software.net/pages/210.htm',0);
Demos[b++]=new Array('Performance Appraisal','http://www.hr-software.net/pages/209.htm',0);
Demos[b++]=new Array('Trng and Development','http://www.hr-software.net/pages/218.htm',0);
Demos[b++]=new Array('Interviewing','http://www.hr-software.net/pages/221.htm',0);
  document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(MyWidth-12)+'">')
  for(i=0;i<b;i++) {
    document.write('<tr>')
      document.write('    <td valign="top" width="8"><font face="arial, helvetica" size="-2" class="body" color="#669900"><font color="#669900">&#149;</font></font></td>')
      document.write('    <td valign="top" width="'+(MyWidth-12)+'"><font face="Arial, helvetica" size="-2" class="body">')
      document.write('<a href="'+Demos[i][1]+'" ' + SpecClass +'>')
      document.write(Demos[i][0]+'</a></td></tr>')
  }
  document.write('</table>')
  document.write('</font></td></tr></table>')
}
function BuildPage() {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>')
  document.write('<td width="'+MyWidth+'" bgcolor="#000000" valign="top">')
  ShowLogo()
  document.write('<img src=http://www.hr-software.net/images/spacer.gif height=2></td><td valign=top>')
  ShowRing()
  document.write('</td></tr><tr><td valign=top >')

  //ShowBBar('Applicant Tracking')
  //ShowAd1()
  //document.write('<img src=http://www.hr-software.net/images/spacer.gif height=2>')

  ShowBBar('Free HR Software')
  ShowSoft("0",0)
  document.write('</td><td valign=top>')
  document.write('<table border=0 width="100%" cellpadding=5 cellspacing=0><tr><td>')
}

function beginPBody() {
  var MyWidth;
  MyWidth=GetWidth();
  document.write('<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>')
  document.write('<td width="'+MyWidth+'" bgcolor="#bfe88f" valign="top">')
  ShowLogo()
  document.write('</td><td valign=top>')
  ShowRing()
  document.write('</td></tr></table>')

  document.write('<table border=0 width="'+MyWidth+'" cellpadding=0 cellspacing=0 align=left><tr><td valign=top width="'+MyWidth+'" >')

  //ShowBBar('Applicant Tracking')
  //ShowAd1()
  //document.write('<img src=http://www.hr-software.net/images/spacer.gif height=2>')

  ShowBBar('Categories')
  ShowCats()
  ShowBBar('Free HR Software')
  ShowSoft("0",0)
  document.write('</td></tr></table>')
}

function PopupLink() {
  var odds=Math.random()*200; // odds is a float type.
  var newWin = null;
  if (odds <=1 ) {
    newWin = window.open();
  } else {
    document.write("your number was "+odds);
  }
}

function ShowAd1() {
  ThisMsg='<font face=Arial>'
  ThisMsg+='<a href="http://www.selectechpowered.com/resources" target="_new"><font size=-1>Selectech</A><sup>&reg;</sup> <BR><a href="http://www.selectechpowered.com/resources" target="_new">Hiring Management</A> '
  ThisMsg+='delivers a full function applicant tracking system with your choice of background screening vendors and no integration fees.'
  ThisMsg+='</font>'
  ShowMesg(ThisMsg,0)
}

function ShowAd2() {
  ThisMsg='<font face=Arial>'
  ThisMsg+='<a href="http://www.eHiring.com/" target="_new"><font size=-1>eHiring.com</A>'
  ThisMsg+='<BR>An applicant tracking system to help streamline and simplify your hiring process.  Only $69 per job.'
  ThisMsg+='</font>'
  ShowMesg(ThisMsg,0)
}

function ShowMesg(MyMsg,WidthOverride) {
  var MyWidth;
  MyWidth=GetWidth();
  if(WidthOverride > MyWidth) MyWidth=WidthOverride;
  document.write('<table width="'+MyWidth+'" border="0" cellspacing="0" cellpadding="6"><tr>')
  document.write('<td width="'+MyWidth+'" bgcolor="#d5d5d5" valign="top">')
  document.write(MyMsg)
  document.write('</td></tr></table>')
}
