var str = location.search;
var writeFrames = (str.indexOf("nowritefs")) && (top.window.length == 0); 

if (writeFrames){
  if (str == ""){
    var bodyFrame = window.location + "?nowritefs";
  }else{
    var bodyFrame = window.location + "&nowritefs";
  }
// alert(Down);
 document.write(
	'<frameset rows="127,*,19" border="0" framespacing="0" frameborder="0">',
		'<noframes>',
			'<div class=""><table cellpadding="0" cellspacing="0" border="0" width="770">',
				'<tr>',
					'<td style="vertical-align:top; valign="top"></td>',
				'</tr>',
			'</table></div>',
		'</noframes>',		
		'<frame src="header.cfm?Down='+Down+'" name="troccheader" scrolling="NO" noresize marginheight="0" marginwidth="0">',
		'<frame src="', bodyFrame, '" name="trocccontent" scrolling="YES">',
		'<frame src="footer.htm" name="troccfooter" scrolling="NO" noresize marginheight="0" marginwidth="0">',
	'</frameset>'
  );
} 
