	/*
 * DWR NAV WRAPPER
 * 
 *
 * by Yuji Nakagawa
 *
 * v1.0 - 03-22-05
 *
 * Allow partners to cobrand their site with DWR navigation wrapper
 * Keep simple for lowest risk
 * 
 * Usage:
 *
 * writeTop();
 * writeLeftNav();
 * writeLeftNav();
 * writeBottom();
 */

var pageID = 0;
var partnerID = 0;

function writeHeader(title) {
	document.write('<title>' + title + '</title>');
	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.dwr.com/includes/stylesheet.css" TITLE="style">');
	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.dwr.com/text/scripts/stylesheets.css" TITLE="style">');
}

/******************************************************
* Write top nav
*******************************************************/
function writeTop(id) {
	pageID = id;
	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.dwr.com/includes/stylesheet.css" TITLE="style">');
	document.writeln('<table class=\"tableborder\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"750\">');
	document.writeln('<tr><td valign=top colspan=\"2\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" class=\"borderB\"><tr>');
	document.writeln('<td><img src=\"http://www.dwr.com/images/en_US/local/page_specific/detail/logo02.gif \" border=\"0\" alt=www.dwr.com | 1.800.944.2233></td>');
	document.writeln('<td><img src=\"http://www.dwr.com/images/en_US/global/globalgraphics/spacer01.gif\" width=\"164\" height=\"1\" border=\"0\"></td>');
	document.writeln('</tr></table></td></tr>');
	document.writeln('<tr><td valign=\"top\" style=\"padding-left:5px;padding-top:40px\" width=\"132\">');
}
function writeMiddle(title) {
	document.writeln('</td><td valign=\"top\" style=\"border-left:ccc 1px solid;padding-left:15px;padding-top:15px;\">');
}

function writeBottom() {

	document.writeln('</td></tr></table>');
}

/******************************************************
* HitBox Code
*******************************************************/
function writeHitbox()
{
document.write('<script language="javascript" id="_hbc">');
document.write('hbx.acct="DM5212065HBE93EN3";//ACCOUNT NUMBER(S)');
document.write('hbx.pn="PUT+PAGE+NAME+HERE"; //page name(s)');
document.write('hbx.mlc="CONTENT+CATEGORY"; //multi-level content category');
document.write('hbx.seg="";//VISITOR SEGMENTATION');
document.write('hbx.cmp="";//CAMPAIGN ID');
document.write('hbx.gp="";//CAMPAIGN GOAL');
document.write('hbx.cmpn="";//CAMPAIGN ID IN QUERY');
document.write('hbx.gpn="";//CAMPAIGN GOAL IN QUERY');
document.write('hbx.fnl="";//FUNNELS');
document.write('hbx.pec="";//ERROR CODES');
document.write('hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME');
document.write('hbx.dcmp="";//DYNAMIC CAMPAIGN ID');
document.write('hbx.dcmpn="";//DYNAMIC CAMPAIGN ID IN QUERY');
document.write('hbx.hra="";//RESPONSE ATTRIBUTE');
document.write('hbx.hcn="";//CONVERSION ATTRIBUTE');
document.write('hbx.hcv="";//CONVERSION VALUE');
document.write('hbx.lt="auto";//LINK TRACKING');
document.write('hbx.hla="";//LEAD ATTRIBUTE');
document.write('hbx.hqsr="";//RESPONSE ATTRIBUTE IN REFERRAL QUERY');
document.write('hbx.hqsp="";//RESPONSE ATTRIBUTE IN QUERY');
document.write('hbx.hc1="";//CUSTOM 1');
document.write('hbx.hc2="";//CUSTOM 2');
document.write('hbx.hc3="";//CUSTOM 3');
document.write('hbx.hc4="";//CUSTOM 4');
document.write('hbx.lt="auto";//LINK TRACKING ');
document.write('hbx.ci="";//CUSTOMER ID');
document.write('hbx.cp="null";//LEGACY CAMPAIGN');
document.write('hbx.cpd="";//CAMPAIGN DOMAIN');
document.write('hbx.pndef="title";//DEFAULT PAGE NAME');
document.write('hbx.ctdef="full";//DEFAULT CONTENT CATEGORY');
document.write('hbx.dlf="n";//DOWNLOAD FILTER');
document.write('hbx.elf="n";//EXIT LINK FILTER');
document.write('hbx.dft="n";//DOWNLOAD FILE NAMING');
document.write('hbx.hrf="";//CUSTOM REFERRER');
document.write('hbx.dcmpe="";//DYNAMIC CAMPAIGN EXPIRATION');
document.write('hbx.dcmpre="";//DYNAMIC CAMPAIGN RESPONSE EXPIRATION');
document.write('hbx.hlt="";//LEAD TRACKING');
document.write('</script><script language="javascript1.1" defer src="http://www.dwr.com/scripts/hbe-11up.js">');
document.write('</script><script language="javascript">if(navigator.appName!=\'Netscape\'&&parseInt(');
document.write('navigator.appVersion)==4)document.write("<\!"+"--")</script><noscript>');
document.write('<img src="http://ehg-designwithinreach.hitbox.com/HG?hc=we07&cd=1&hv=6&ce=u&hb=DM5212065HBE93EN3&n=PUT+PAGE+NAME+HERE&vcon=CONTENT+CATEGORY&seg=&cmp=&gp=&fnl=&pec=&dcmp=&ra=&gn=&cv=&ld=&la=&c1=&c2=&c3=&c4=&vpc=090101rn" border="0" width="1" height="1">');
document.write('</noscript><!--//-->');
document.write('<!-- END WEBSIDESTORY CODE  -->');
}