var ord = Math.random() * 10000000000000000

sHREF="http://www.thefinancials.com/Advertising.html";
sSRC="http://www.thefinancials.com/banners/BannerOurAdvert_Home.gif";
sALT="This Space Available. Click here to learn about advertising on thefinancials.com.";
sTARGET="_self";
sTEXT="";
sTEXTONLY="";
bAddRandomArg_IMG=true;
bAddRandomArg_LINK=true;
sCounter_FileName="";
sIESite="";
sGroupGlobal="";
sHEIGHT="0";
sWIDTH="0";
sKVAL="";

//for PIR
function show( id, state ){
	var what = document.getElementById( id );
	what.style.visibility = (state)?'visible':'hidden';
	what.style.display = (state)?'block':'none';
	if( state == true ) { what.style.zIndex = (max_z++); }
}

function GetRandomArg() {

	sGetRandomArg="";
	for (i = 0; i<25; i++) {
   		sGetRandomArg=sGetRandomArg+(Math.round(Math.random()*10));
   	}
 	return sGetRandomArg;	
}

function GetBanner(sSize,sGroup,bOption,sPID,sSiteID,sLoc) {
	sRandomArg=GetRandomArg();

	if (typeof(sSize)=='undefined') {
		sSize="";
	}
	if (typeof(sGroup)=='undefined') {
		sGroup="";
	}
	sGroupGlobal=sGroup;

	if (typeof(bOption)=='undefined') {
		bOption="";
	}
	if (typeof(sPID)=='undefined') {
		sPID="";
	} else {
		sPID=sPID.toUpperCase();
	}
	if (typeof(sSiteID)=='undefined') {
		sSiteID="";
	}
	sSiteID = String(sSiteID);
	if (sSiteID=="") {
		sSiteID="HOME";
	}
	if (sSiteID=="VORTEX") {
		sSiteID="CUR";
	}
	sGroup = String(sGroup);
	if (sGroup=="VORTEX") {
		sGroup="CUR";
	}
	if (typeof(sLoc)=='undefined') {
		sLoc="";
	}
	sSize=sSize.toUpperCase();
	sGroup=sGroup.toUpperCase();
	sSiteID=sSiteID.toUpperCase();
	sLoc=sLoc.toUpperCase();

	switch (sSiteID) {
	case "CUR" : 
		sKVAL="currencies";
		break;
	case "COM" : 
		sKVAL="commodities";
		break;
	case "IDX" : 
		sKVAL="indices";
		break;
	default :
		sKVAL="homepage";
		break;
	}

	switch (sSize) {
	case "L" : 
            if (sGroupGlobal=="COBRAND") {
			sHEIGHT="60";
			sWIDTH="468";
			sTARGET="_top";
			sALT="Visit eToro.com";
			sSRC="http://www.etoro.com/B487_A10250_TGet.aspx";	
			sHREF="http://www.etoro.com/B487_A10250_TClick.aspx";		
            } else {
			//InvestingChnnel
			sTEXTONLY="<script language=" +"'" + "JavaScript" +"'" + " src=" + "'" + "http://ad.doubleclick.net/adj/invc.thefinancials/" + sKVAL + ";kw=;kval=" + sKVAL + ";tile=1;sz=728x90;ord=" +"'" + " + ord + " +"'" + "?" +"'" + " type=" +"'" + "text/javascript" +"'" + "><\/script>"					
		}
		break;

	case "TALL" : 
		//InvestingChnnel
		//sHEIGHT="600";
		//sWIDTH="120";
		//sTARGET="_top";
		//sALT="Visit eToro.com";
		//sSRC="http://www.etoro.com/B499_A10250_TGet.aspx";	
		//sHREF="http://www.etoro.com/B499_A10250_TClick.aspx";		
		sTEXTONLY="<script language=" +"'" + "JavaScript" +"'" + " src=" +"'" + "http://ad.doubleclick.net/adj/invc.thefinancials/" + sKVAL + ";kw=;kval=" + sKVAL + ";3;sz=160x600;ord=" +"'" + " + ord + " +"'" + "?" +"'" + " type=" +"'" + "text/javascript" +"'" + "><\/script>"
		break;

	case "TILE_270" : 
		//INTERTRADE
		sTEXTONLY="<object id='slideshow' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='125' height='60' id='test' align='middle'>"
		sTEXTONLY = sTEXTONLY+"<param name='movie' value='http://www.thefinancials.com/banners/Turtle%20Forex.swf'>"
		sTEXTONLY = sTEXTONLY+"<param name='quality' value='high'>"
		sTEXTONLY = sTEXTONLY+"<param name='allowScriptAccess' value='sameDomain'>"
		sTEXTONLY = sTEXTONLY+"<param name='bgcolor' value='#000000'>"
		sTEXTONLY = sTEXTONLY+"<embed name='slideshow' src='http://www.thefinancials.com/banners/Turtle%20Forex.swf' quality='high' bgcolor='#FFFFFF' width='125' height='60' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"
		sTEXTONLY = sTEXTONLY+"</object>"
		sCounter_FileName="http://www.thefinancials.com/banners/intertrade_count_125x60.gif";
		sTEXTONLY =""
		break;

	case "RECT" : 
		if (sGroup=="HOME") {
			//InvestingChnnel
			//sHEIGHT="250";
			//sWIDTH="300";
			//sTARGET="_top";
			//sALT="Visit eToro.com";
			//sSRC="http://www.etoro.com/B467_A10250_TGet.aspx";	
			//sHREF="http://www.etoro.com/B467_A10250_TClick.aspx";		
			sTEXTONLY="<script language=" +"'" + "JavaScript" +"'" + " src=" +"'" + "http://ad.doubleclick.net/adj/invc.thefinancials/" + sKVAL + ";kw=;kval=" + sKVAL + ";tile=2;sz=300x250;ord=" +"'" + " + ord + " +"'" + "?" +"'" + " type=" +"'" + "text/javascript" +"'" + "><\/script>"
		}
		break;

	case "M", "TILE" : 
		//INTERTRADE
		sTEXTONLY="<object id='slideshow' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='125' height='60' id='test' align='middle'>"
		sTEXTONLY = sTEXTONLY+"<param name='movie' value='http://www.thefinancials.com/banners/Turtle%20Forex.swf'>"
		sTEXTONLY = sTEXTONLY+"<param name='quality' value='high'>"
		sTEXTONLY = sTEXTONLY+"<param name='allowScriptAccess' value='sameDomain'>"
		sTEXTONLY = sTEXTONLY+"<param name='bgcolor' value='#000000'>"
		sTEXTONLY = sTEXTONLY+"<embed name='slideshow' src='http://www.thefinancials.com/banners/Turtle%20Forex.swf' quality='high' bgcolor='#FFFFFF' width='125' height='60' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"
		sTEXTONLY = sTEXTONLY+"</object>"
		sCounter_FileName="http://www.thefinancials.com/banners/intertrade_count_125x60.gif";
		sTEXTONLY =""
		break;

	case "S" : 
		//INTERTRADE
		sTEXTONLY="<object id='slideshow' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='125' height='60' id='test' align='middle'>"
		sTEXTONLY = sTEXTONLY+"<param name='movie' value='http://www.thefinancials.com/banners/Turtle%20Forex%20small.swf'>"
		sTEXTONLY = sTEXTONLY+"<param name='quality' value='high'>"
		sTEXTONLY = sTEXTONLY+"<param name='allowScriptAccess' value='sameDomain'>"
		sTEXTONLY = sTEXTONLY+"<param name='bgcolor' value='#000000'>"
		sTEXTONLY = sTEXTONLY+"<embed name='slideshow' src='http://www.thefinancials.com/banners/Turtle%20Forex%20small.swf' quality='high' bgcolor='#FFFFFF' width='88' height='31' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"
		sTEXTONLY = sTEXTONLY+"</object>"
		sCounter_FileName="http://www.thefinancials.com/banners/intertrade_count_88x31.gif";
		sTEXTONLY =""
		break;

	case "T" : 
 
		//INTERTRADE
		sTEXTONLY="<object id='slideshow' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='125' height='60' id='test' align='middle'>"
		sTEXTONLY = sTEXTONLY+"<param name='movie' value='http://www.thefinancials.com/banners/Turtle%20Forex.swf'>"
		sTEXTONLY = sTEXTONLY+"<param name='quality' value='high'>"
		sTEXTONLY = sTEXTONLY+"<param name='allowScriptAccess' value='sameDomain'>"
		sTEXTONLY = sTEXTONLY+"<param name='bgcolor' value='#000000'>"
		sTEXTONLY = sTEXTONLY+"<embed name='slideshow' src='http://www.thefinancials.com/banners/Turtle%20Forex.swf' quality='high' bgcolor='#FFFFFF' width='125' height='60' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"
		sTEXTONLY = sTEXTONLY+"</object>"
		sCounter_FileName="http://www.thefinancials.com/banners/intertrade_count_125x60.gif";
		sTEXTONLY =""
		break;

	}

	if (sTEXTONLY) {
		sGetBanner=sTEXTONLY;
		if (sCounter_FileName!="") {
			sGetBanner=sGetBanner + "<img border='0' src='" + sCounter_FileName + "?ord=" + sRandomArg + "' width='1' height='1'>";
		}
	} else {
		if (sTEXT) {
			sGetBanner=sTEXT;
		} else {
			sGetBanner="";
		}
		sGetBanner=sGetBanner+"<a target='" + sTARGET + "' href='" + sHREF
		if (bAddRandomArg_LINK) {
			sRandomArg=sRandomArg + "?";
			sGetBanner=sGetBanner+ "?ord=" + sRandomArg 
		}
		sGetBanner=sGetBanner+ "'><img border='0' src='" + sSRC 
		if (bAddRandomArg_IMG) {
			sGetBanner=sGetBanner+"?ord=" + sRandomArg;
		} 
		sGetBanner=sGetBanner + "' alt='" + sALT + "' width='" + sWIDTH + "' height='" + sHEIGHT +"' name='Banner'></a>";
		if (sCounter_FileName!="") {
			sGetBanner=sGetBanner + "<img border='0' src='" + sCounter_FileName + "?ord=" + sRandomArg + "' width='1' height='1'>";
		}
	}
	return sGetBanner;
}
function EX_Mortgage_FreddieMac_vs_Best(sPID,sParamName,sParamVal) {
	initChart1Props='i000000_i002183_i002182_i002184';

	sHTML="";
	sHTML=sHTML+"<META HTTP-EQUIV='Pragma' CONTENT='no-cache'><META HTTP-EQUIV='Expires' CONTENT='-1'>";
	sHTML=sHTML+"<!LANGUAGE='JavaScript' SRC='http://www.thefinancials.com/js/free/controls.js'></script>";
	sHTML=sHTML+"<!LANGUAGE='JavaScript' SRC='http://www.theFinancials.com/js/Banners.js'></script>";
	sHTML=sHTML+"<table border='0' align='center' cellpadding='0' cellspacing='0' width='100%'>";
	sHTML=sHTML+"   <tr>";
	sHTML=sHTML+"   <td style='border: 0px none' valign='top' align='center'>";
	document.write(sHTML);
	document.write(GetBanner('L','COBRAND','','','VORTEX'));
	sHTML='';
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"   </tr>";
	sHTML=sHTML+"</table>";
	sHTML=sHTML+"<table width='500' ALIGN='CENTER' BORDER='0' CELLSPACING='0' BORDERCOLOR='#000000' CELLPADDING='1'>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td  COLSPAN='4'  style='border: 0px none' valign='top'>";
	sHTML=sHTML+"<font face='Arial, Helvetica' size='2' color='#000000'><b>Freddie Mac Mortgage Rates vs Best Available Rates</b></font>";
	sHTML=sHTML+"<p style='margin-top: 6'><a href='http://www.theFinancials.com' target='_top'><font face='Arial, Helvetica' size='2'>Quotes, Charts, Research, Data</font></a></p></td>";
	sHTML=sHTML+"<td COLSPAN='6' style='border: 0px none' valign='top' align='right'></a><a title='custom content for your site' href='http://b2b.thefinancials.com/alacarte.asp' target='_top'><div style='font-family: Arial; font-size: 12px;'>custom content for your site</div></a><a href='http://www.theFinancials.com/LoadSample.html?style=Full%20Report&styleid=F&title=Freddie%20Mac%20Mortgage%20Rates%20vs%20Best%20Available%20Rates&id=839&file=EX_Mortgage_FreddieMac_vs_Best&branding=C&isinforma=0' target='_top' onmouseover='window.status=&quot;Request instructions for adding this report to your site, for FREE.&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica' size='2'>Add this report to your site <img src='http://www.thefinancials.com/images/free.gif' border=0></b></font></a>";
	sHTML=sHTML+"</td></tr>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td align='left' COLSPAN='10' BGCOLOR='#000080'";
	sHTML=sHTML+" Style = 'border-left: 1px solid rgb(128,128,128); border-right: 1px solid rgb(128,128,128); border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><b><Font ";
	sHTML=sHTML+" face='Arial, Helvetica' color='#FFFFFF' size='2'>Freddie Mac vs Best Available Mortgage Rates</font></b></td>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"  <tr>";
	sHTML=sHTML+"    <td align='left' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ";
	sHTML=sHTML+"    valign='bottom' rowspan='4'><b><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'>[click item to view chart]</font></b></td>";
	sHTML=sHTML+"    <td align='center' COLSPAN='1' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none; margin: -1px; padding-top: -2px; padding-bottom: -2px'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Current</b></font></td>";
	sHTML=sHTML+"    <td align='center' COLSPAN='2' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Previous</b></font></td>";
	sHTML=sHTML+"    <td align='center' COLSPAN='2' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Previous</b></font></td>";
	sHTML=sHTML+"    <td align='center' COLSPAN='2' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Previous</b></font></td>";
	sHTML=sHTML+"    <td align='center' COLSPAN='2' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right:  1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Previous</b></font></td>";
	sHTML=sHTML+"  </tr>";
	sHTML=sHTML+"  <tr>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='1' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#C0C0C0' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#0000FF' size='1'><b>Day</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#C0C0C0' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#0000FF' size='1'><b>Week</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#C0C0C0' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#0000FF' size='1'><b>Month</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#C0C0C0' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right:  1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#0000FF' size='1'><b>Year</b></font></td>";
	sHTML=sHTML+"  </tr>";
	sHTML=sHTML+"  <tr>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='1' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>8-Sep-10</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>7-Sep-10</b></font></td> ";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>1-Sep-10</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>9-Aug-10</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' colspan='2' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right:  1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 0px none'><font ";
	sHTML=sHTML+"face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>8-Sep-09</b></font></td>";
	sHTML=sHTML+"  </tr>";
	sHTML=sHTML+"  <tr>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Chg<br>(bps)</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Chg<br>(bps)</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Chg<br>(bps)</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right:  0px none; border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Rate</b></font></td>";
	sHTML=sHTML+"    <td align='center' BGCOLOR='#0099CC' ";
	sHTML=sHTML+"    style='height:14px; border-left: 1px solid rgb(128,128,128); border-right: 1px solid rgb(128,128,128); border-top: 1px solid rgb(128,128,128); border-bottom: 1px solid rgb(128,128,128)'><font ";
	sHTML=sHTML+"    face='Arial, Helvetica' COLOR='#FFFFFF' size='1'><b>Chg<br>(bps)</b></font></td>";
	sHTML=sHTML+"  </tr>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+" onmouseover=LoadThumbnail(&quot;i000000&quot;,&quot;i002179&quot;,&quot;i002177&quot;,&quot;i002178&quot;,&quot;Thumbnail_ChartInd_258937&quot;,&quot;Fname09192&quot;);return false;><td nowrap ";
	sHTML=sHTML+"style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; border-top: ";
	sHTML=sHTML+"0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='left'><a href='#' onClick='LoadThumbnail(&quot;i000000&quot;,&quot;i002179&quot;,&quot;i002177&quot;,&quot;i002178&quot;,&quot;Thumbnail_ChartInd_258937&quot;,&quot;Fname09192&quot;);return false;'  onmouseover='window.status=&quot;1 Year Adjustable Rate Mortgage - Freddie Mac Primary Mortgage Market Survey Average as of 3-Sep-2010 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>1 Yr ARM, natl avg</font></a>";
	sHTML=sHTML+" <img name='Thumbnail_ChartInd_258937' border='0' src='http://www.thefinancials.com/images/blank.gif'></td>";
	sHTML=sHTML+"<td style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; ";
	sHTML=sHTML+"   border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right' style='margin-right: 20'><font FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.50%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.52%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-2 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.52%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-2 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.64%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-14 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.69%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-119 </font></td>";
	sHTML=sHTML+"<tr bgcolor='#FFFFFF' ";
	sHTML=sHTML+" onmouseover=LoadThumbnail(&quot;i000000&quot;,&quot;i002183&quot;,&quot;i002182&quot;,&quot;i002184&quot;,&quot;Thumbnail_ChartInd_391259&quot;,&quot;Fname09192&quot;);return false;><td nowrap ";
	sHTML=sHTML+"style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; border-top: ";
	sHTML=sHTML+"0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='left'><a href='#' onClick='LoadThumbnail(&quot;i000000&quot;,&quot;i002183&quot;,&quot;i002182&quot;,&quot;i002184&quot;,&quot;Thumbnail_ChartInd_391259&quot;,&quot;Fname09192&quot;);return false;'  onmouseover='window.status=&quot;15 Year Fixed Rate Mortgage, Freddie Mac Primary Mortgage Market Survey Average as of 3-Sep-2010 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>15 Yr FXD, natl avg</font></a>";
	sHTML=sHTML+" <img name='Thumbnail_ChartInd_391259' border='0' src='http://www.thefinancials.com/images/ActiveChart.gif' alt='This marker indicates the current chart.'></td>";
	sHTML=sHTML+"<td style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; ";
	sHTML=sHTML+"   border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right' style='margin-right: 20'><font FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.83%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.86%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-3 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>3.86%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-3 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.00%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-17 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.58%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-75 </font></td>";
	sHTML=sHTML+"<tr bgcolor='#EEEEEE' ";
	sHTML=sHTML+" onmouseover=LoadThumbnail(&quot;i000000&quot;,&quot;i002187&quot;,&quot;i002186&quot;,&quot;i002185&quot;,&quot;Thumbnail_ChartInd_889496&quot;,&quot;Fname09192&quot;);return false;><td nowrap ";
	sHTML=sHTML+"style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; border-top: ";
	sHTML=sHTML+"0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='left'><a href='#' onClick='LoadThumbnail(&quot;i000000&quot;,&quot;i002187&quot;,&quot;i002186&quot;,&quot;i002185&quot;,&quot;Thumbnail_ChartInd_889496&quot;,&quot;Fname09192&quot;);return false;'  onmouseover='window.status=&quot;30 Year Fixed Rate Mortgage, Freddie Mac Primary Mortgage Market Survey Average as of 3-Sep-2010 Close&quot;; return true' onmouseout='window.status=&quot;&quot;; return true'><font face='Arial, Helvetica'  size='1'>30 Yr FXD, natl avg</font></a>";
	sHTML=sHTML+" <img name='Thumbnail_ChartInd_889496' border='0' src='http://www.thefinancials.com/images/blank.gif'></td>";
	sHTML=sHTML+"<td style='border-left: ";
	sHTML=sHTML+"1px solid rgb(128,128,128); border-right: 0px none; ";
	sHTML=sHTML+"   border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right' style='margin-right: 20'><font FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.32%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128);' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.36%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-4 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.36%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-4 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>4.54%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-22 </font></td>";
	sHTML=sHTML+"    <td style='border-left: 1px solid rgb(128,128,128); border-right: 0px none; border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right'><font     FACE='Arial, Helvetica' COLOR='#000000' size='1'></font><font face='Arial, Helvetica' size='1'     color='#000000'>5.14%</font></td>";
	sHTML=sHTML+"    <td style='border-left: 0px none; border-right: 1px solid rgb(128,128,128); border-top: 0px none; border-bottom: 1px solid rgb(128,128,128)' ALIGN='right' style='margin-right: 7'><font     FACE='Arial, Helvetica' COLOR='#FF0000' size='1'>-82 </font></td>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td COLSPAN='4' width=100%>";
	sHTML=sHTML+"&nbsp;</td></tr>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td COLSPAN='10' valign='top' align='center'>";
	sHTML=sHTML+"<form method='POST' name='TFC_MFR_Form'>";
	sHTML=sHTML+"<center><table border='0' cellpadding='4' cellspacing='0' align='center'>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"</tr>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td height='30' bgcolor='#000080' align='center' style='border-left: 1 solid #223798; border-top: 1 solid #223798; border-bottom: 1 solid #223798'>";
	sHTML=sHTML+"<b><font color='#FFFFFF' size='2' face='Arial, Helvetica'>TimeFrame</font></b></td>";
	sHTML=sHTML+"<td nowrap height='30' valign='middle' bgcolor='#0099CC' style='border-left: 1 solid #223798; border-top: 1 solid #223798; border-right: 1 solid #223798;' align='center'>";
	sHTML=sHTML+"<small>&nbsp;";
	sHTML=sHTML+"<font face='Arial, Helvetica' color='#FFFFFF' size='1'><img border='0' src='http://www.thefinancials.com/images/ActiveChart.gif'>&nbsp;Click Chart to Enlarge</font></small></td></td></tr>";
	sHTML=sHTML+"<tr><td align='left' bgcolor='#000080' valign='middle' style='border-left: 1 solid #223798; border-bottom: 1 solid #223798'><p>";
	sHTML=sHTML+"<input type='radio' value='W-0' name='optTimeframe' onclick='ChangeTimeframes(&quot;Thumbnail&quot;)'><font color='#FFFFFF' face='Arial, Helvetica' size='2'>Week</font></p><p>";
	sHTML=sHTML+"<input type='radio' value='M-1' name='optTimeframe' onclick='ChangeTimeframes(&quot;Thumbnail&quot;)' checked><font color='#FFFFFF' face='Arial, Helvetica' size='2'>Month</font></p><p>";
	sHTML=sHTML+"<input type='radio' value='Y-2' name='optTimeframe' onclick='ChangeTimeframes(&quot;Thumbnail&quot;)'><font color='#FFFFFF' face='Arial, Helvetica' size='2'>Year</font></p><p>";
	sHTML=sHTML+"<input type='radio' value='Y3-3' name='optTimeframe' onclick='ChangeTimeframes(&quot;Thumbnail&quot;)'><font color='#FFFFFF' face='Arial, Helvetica' size='2'>3-Year</font></p></td>";
	sHTML=sHTML+"<td style='border: 1px inset #223798' bgcolor='#FFFFFF'><a href='#' onClick='ZoomThumbnail(&quot;vortex&quot;,&quot;Thumbnail&quot;,&quot;_blank&quot;);return false;' onmouseover='window.status=&quot;Click to Enlarge&quot;; return false' onmouseout='window.status=&quot;&quot;; return true' target='_self'>";
	sHTML=sHTML+"<img src='http://www.thefinancials.com/charts//i002183p.jpg' name='Thumbnail' border='0' width='260' height='130' style='padding-top: 1px; padding-left: 1px; padding-right: 1px' hspace='1' ";
	sHTML=sHTML+" alt='Click to Enlarge'></a></td></tr>";
	sHTML=sHTML+"</table>";
	sHTML=sHTML+"</center></form>";
	sHTML=sHTML+"<td COLSPAN='6' align='center' style='padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1' width='275' height='170'>";
	sHTML=sHTML+"</td>";
	sHTML=sHTML+"<tr>";
	sHTML=sHTML+"<td COLSPAN='10' valign='top' align='center'>";
	sHTML=sHTML+"<div align='center' style='margin-top: 0; margin-bottom: 0'><font style='font-size: 9px; font-family: Arial, Helvetica;color:#000000;'  size='1' face = 'Arial, Helvetica'>source: Freddie Mac</font></div><p align='center' style='margin-top: 0; margin-bottom: 0'><div align='center'> <a href='http://www.theFinancials.com' target='_top'><font style='font-size: 9px; font-family: Arial, Helvetica;color:#000000;'color='#000000' >&#169; theFinancials.com </a></font></div>";
	sHTML=sHTML+"</td></tr>";
	sHTML=sHTML+"</table>";
	document.write(sHTML);
	return '';
}
