
var menuPath1="../";
var menuPath2="";


if(typeof(menuPath) != "undefined")
{
	if(menuPath == "Images")
	{
		menuPath = "ImagesETF"
		menuPath1 = "";
		menuPath2 = "./WebSite/";
	} 
	else
	{
		menuPath = "../ImagesETF"
	}
}

function fnPageHeader()
{
var pageH="";

pageH +='<div style="FONT-SIZE:0.1pt;HEIGHT:15px"></div>'; 
pageH +='<table class="tblTop" cellpadding="0" cellspacing="0" border="0" width="1000" height="93" align="center"  >';
pageH +='	<tr>';
pageH +='		<td width="10"><a href="'+ menuPath1 +'index.htm"><img src="http://www.transparentvalue.com/ImagesETF/TVLogo.gif" border="0" title="Transparent Value"></a></td>';
pageH += '		<td   align=center> <!--<div id="divBanner"><img src="' + menuPath + '/Ban2.gif" alt="Do you know how many ipods Apple has to sell,auctions eBay has to list,and packages FedEx has to ship to support their stock prices?"></div>  </td>';
pageH +='		<td  > <div style="position:absolute;margin-top:25px;margin-left:-170px;white-space:nowrap;"  class="tblContentText" align=right><A onclick="window.open(\''+ menuPath2 +'SampCompanies.aspx\',\'landing\');" style="cursor:pointer"><b>click here to find out &gt;&gt;</b></A></div> --></td>';
pageH +='	</tr>'; 

pageH +='</table>';

document.write(pageH); 
//tabFlashDoc( "divBanner",  menuPath1 +"Swfs/BannerWhite.swf?qPath=www.transparentvalue.com/WebSite/Vision_Philosophy.htm", "700", "95" ,""  );
}


function fnPageHeaderRule()
{
var pageH=""; 

pageH +=' <hr width="850" style="border-top:4px solid #dddddd;height:4px">'

document.write(pageH); 
}

 
function buldTopMenu(Arg1)
{
	var menuHtm =''; 
	var divider = 90;
	menuHtm +=' <table class="tblMenu"   style="height:20px" cellpadding="0" cellspacing="0" border="0" width="900" align="center">';
	menuHtm +='	<tr valign="middle">'; 
	menuHtm +=' <td align="left" width="20" height="20"><img src="'+ menuPath  +'/MenuTL.gif" border="0" ></td>';
	menuHtm +=' <td align="center"  wdth="1%"><a ';

	if(menuSeleted == 0)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
	} 
	menuHtm +=' href="'+ menuPath1 +'index.htm">home</a>';

	menuHtm +='</td>'; 
	
	menuHtm +=' <td align="center" width="'+ divider +'"></td>'; 
	menuHtm +=' <td align="center"  ><a ';
	if(menuSeleted == 1)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
	} 
	menuHtm +=' href="'+ menuPath2 +'AboutUs_History.htm">company</a>';	
	menuHtm +='</td>';   
	
	menuHtm +=' <td align="center" width="'+ divider +'"></td>';
	 
	menuHtm +=' <td align="center"  ><a ';
		
	if(menuSeleted == 2)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
	} 
	menuHtm +=' href="'+ menuPath2 +'Vision_Philosophy.aspx">approach</a>';	
	menuHtm +='</td>'; 
	menuHtm +=' <td align="center" width="'+ divider +'"></td>';
	menuHtm +=' <td align="center"  ><a ';
	
	if(menuSeleted == 4)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
	} 
	menuHtm +=' href="'+ menuPath2 +'RBPIndexes_Intro.aspx">products</a>'; 
	menuHtm +='</td>'; 	
	
	
	menuHtm +=' <td align="center" width="'+ divider +'"></td>'; 
	/*
	menuHtm +=' <td align="center"  ><a '; 
	if(menuSeleted == 7)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
	} 
	menuHtm +=' href="'+ menuPath2 +'tools.aspx">tools & solutions</a>'; 
	menuHtm +='</td>'; 
	
	menuHtm +=' <td align="center" width="'+ divider +'"></td>';
	*/
	menuHtm +=' <td align="center"  ><a ';  
	if(menuSeleted == 3)
	{
		menuHtm +=' style="color:#ffcc00;" ';   
		
	} 
	menuHtm +=' href="'+ menuPath2  +'AssetManag_Intro.aspx" >asset management</a>'; 
	menuHtm +='</td>'; 
	
	
	
	menuHtm +=' <td align="right" width="20" height="20"><img src="'+ menuPath  +'/MenuTR.gif" border="0" ></td>'; 
	menuHtm +=' </tr>';
	menuHtm +=' </table>';
	menuHtm +=' <table style="height:36px" cellpadding="0" cellspacing="0" border="0" width="900" align=center >';
	menuHtm +=' <tr>';
	menuHtm +=' <td  >&nbsp;</td>';
	 
	menuHtm +=' <td align="right" width="70"  class="tblMenuLogin"     ><a ';
		
	if(menuSeleted == 5)
	{
		menuHtm +=' style="color:#ffcc00;" ';
		menuHtm += ' href="' + menuPath1 + 'login.aspx"><img src="' + menuPath + '/LoginLockOn.gif" border="0" hspace="5" >login</a>'; 
			
	} 
	else
	{
		if(menuSeleted == 6)
		{
			menuHtm +=' style="color:#ffcc00;" ';   
		}
		menuHtm += ' href="' + menuPath1 + 'login.aspx"><img src="' + menuPath + '/LoginLock.gif" border="0" hspace="5"  >login</a>'; 
			
	}
	menuHtm +=' </td>';
	 
	menuHtm +=' <td style="width:20px;"></td>';
	menuHtm +=' </tr>';
	menuHtm +=' </table>';
	 
	document.write(menuHtm)
}



function buldTopIcons(Arg1)
{
	if(typeof(menuPath) != "undefined")
	{
		var topIcon =''; 
		topIcon +=' <table class="topIcons" cellpadding="2" cellspacing="0" border="0"  >';
		topIcon +=' <tr style="height:15px;"><td></td></tr>';
		topIcon +='	<tr >';  
		topIcon +='	<td width=50 valign=bottom>';
		topIcon +='	<table cellpadding="0" cellspacing="0" border="0">';
		topIcon +='	<tr>';
		topIcon +='	<td><a href="javascript:decreaseFontSize();"><img src="'+ menuPath +'/FontText_01.gif" border="0"></a></td>';
		topIcon +='	<td><a href="javascript:increaseFontSize();"><img src="'+ menuPath +'/FontText_02.gif" border="0"></a></td>';
		topIcon +='	</tr>';
		topIcon +='	</table>';
		topIcon +='	</td>';
	 	topIcon +=' <td valign=bottom><a href="javascript:funcPrintPage();"><img src="'+ menuPath +'/print-icon.gif" title="printer friendly" border="0"></a></td>';
		topIcon +=' <td valign=bottom><a id="aEmail" href="mailto:?Subject=Transparent%20Value%20website%20-%20I%20thought%20you%20might%20be%20interested%20in%20this%20page&Body=I%20thought%20you%20might%20be%20interested%20in%20this%20page:%0D%0A%0D%0A'+ escape(document.location.href) +'%0D%0A%0D%0AYou%20can%20visit%20the%20Transparent%20Value%20Web%20site%20at%20http://www.transparentvalue.com/"><img src="'+ menuPath +'/email.gif" title="please click here to e-mail this page" border="0"></a></td>';
	//	topIcon +=' <td><a id="aFeedBack" href="mailto:Julian Koski | TRANSPARENT VALUE[jkoski@transparentvalue.com]?Subject=Feedback for Transparent Value website &Body=Page: ' + escape(document.location.href) +  '%0D%0A%0D%0A"><img src="'+ menuPath +'/feedback_up.gif" title="please click here to give us feedback" border="0"></a></td>'; 	 
	//	topIcon +=' <td><a id="aSiteMap" href="'+ menuPath2 +'SiteMap.htm"><img src="'+ menuPath +'/sitemap.gif" title="sitemap" border="0"></a></td>'; 	 
 		topIcon +=' </tr>';
 		topIcon +=' <tr style="height:15px;"><td></td></tr>';
		topIcon +=' </table>';  		
		document.write(topIcon)  
	}
}

	
	


 
function funcPrintPage()
{		
	var Width=750;
	var Height=600;		
	var left=((screen.width/2)-(Width/2));
	var top=((screen.height/2)-(Height/2));		
	var disp_setting='left='+ left +',top='+ top +',toolbar=yes,location=no,directories=yes,scrollbars=yes,menubar=yes,resizable=yes,width='+ Width +',height='+ Height;
	var win = window.open("","Print",disp_setting);
	win.document.open(); 
	win.document.write("<html>");
	win.document.write("<head><title>"+ document.title +"</title>");
	 
	win.document.write("<link href='../StylesheetsETF/websiteprintIF.css' rel=stylesheet  >");
	if(ua.indexOf("Firefox")>0)
	{ 
		win.document.write("<link href='../StylesheetsETF/websiteprintFF.css' rel=stylesheet  >");
	}
	else
	{ 
		win.document.write("<link href='../StylesheetsETF/websiteprintIE.css' rel=stylesheet  >");
	}
	
	win.document.write("<script language=javascript for=window event=onload>"); 
	win.document.write("self.print();");
	win.document.write("<\/script>")			
	win.document.write("</head>");
	win.document.write("<body class=printBody  >"); 
	win.document.write("<img  src='../imagesETF/printlogo.gif' border=0><br><br>");
	var re = /<SCRIPT/g;             //Create regular expression pattern.
	var	r = document.getElementById("printContent").innerHTML.replace(re, "<SPAN style='display:none;' ");     
	re = /<\/SCRIPT/g;             //Create regular expression pattern.
	r = r.replace(re, "</SPAN");    
	var shref = /href/g;             //Create regular expression pattern.
	r = r.replace(shref, "mask");    
	win.document.write(r);
	win.document.write("<br><br><font  class='LegealTxt'> &copy; Transparent Value, LLC All Rights Reserved, 2007</font>" );
	win.document.write("</body>");
	win.document.write("</html>");  
	win.document.close(); 
	win.focus(); 
}



function fnPageFooter()
{ 
var PageF="";

PageF +=''; 
PageF +='<table cellpadding="0" cellspacing="0" border="0" width="900" align="center" height="20" class="LegealTxt"  >'; 
PageF +='	<tr>';
PageF +='		<td align="left" width="1%"><img src="'+ menuPath  +'/MenuBL.gif" border="0"   ></td>';  
PageF +='		<td align="center" width="30%" nowrap><a href="javascript:openWin(\''+ menuPath2 +'Disclaimer.htm\',\'Copy\',\'925\',\'600\');"  >Legal Notices</a></td>';
PageF +='		<td align="center" width="1%" nowrap> &nbsp;</td>';
PageF += '		<td align="center" width="30%" nowrap> <a href="' + menuPath2 + 'SiteMap.aspx"  >Sitemap</a></td>';
PageF +='		<td align="center" width="1%" nowrap> &nbsp;</td>';
PageF +='		<td align="center" width="30%" nowrap><a href="'+ menuPath2 +'ContactUs.aspx" >Contact Us </a></td>'; 

PageF +='		<td align="right" width="1%"><img src="'+ menuPath  +'/MenuBR.gif" border="0" ></td>'; 
PageF +='	</tr>';
PageF +='</table>';
PageF +='<table cellpadding="0" cellspacing="0" border="0" width="900" align="center" height="20" class="LegealTxtbottom">'; 
PageF +='	<tr>'; 
PageF +='		<td align="center"  nowrap> &nbsp;</td>';
PageF += '		<td align="center"  nowrap style="padding-left:10px;">Transparent Value, LLC 135 East 57th Street, 15th Floor, New York, NY 10022 	   	</td>';
PageF +='		<td align="center" width="50%" nowrap> &nbsp;</td>';
PageF +='		<td align="center"  nowrap> &copy; Transparent Value, LLC All Rights Reserved, 2008 </td>'; 
PageF +='		<td align="center"   nowrap> &nbsp;</td>';

PageF +='	</tr>';
PageF +='</table>';
PageF +='<map name="Map100">';
if(menuSeleted == 6)
{
	PageF +='	<area id="vision" shape="RECT" coords="436,71,577,88" href="'+ menuPath2+ 'Vision_Philosophy.aspx" target="_self">';
}
else
{
    PageF += '	<area id="vision" shape="RECT" coords="436,71,577,88" href="Vision_Philosophy.aspx" target="_self">';
}
PageF +='</map>';
PageF +='<br/><br/>';

document.write(PageF);  
}



 
 // Legal Notice
 
 function buldLegalNoticeTopMenu(Arg1)
{
	var menuHtm =''; 
	var divider = 90;
	menuHtm +=' <table class="tblMenu"   height="20" cellpadding="0" cellspacing="0" border="0" width="900" align="center">';
	menuHtm +='	<tr valign="middle">'; 
	menuHtm +=' <td align="left" width="20"  ><img src="'+ menuPath  +'/MenuTL.gif" border="0" ></td>';
	menuHtm +=' <td align="center"  wdth="1%">';

	menuHtm +='</td>'; 
	menuHtm +=' <td align="center" ></td>';
	menuHtm +=' <td align="center"  >';	
	menuHtm +='</td>'; 
	menuHtm +=' <td align="center" ></td>';
	menuHtm +=' <td align="center"  >'; 
	menuHtm +='</td>'; 
	menuHtm +=' <td align="center" ></td>';
	menuHtm +=' <td align="center"  >';	
	menuHtm +='</td>'; 
	menuHtm +=' <td align="center" width="'+ divider +'"></td>';
	menuHtm +=' <td align="center"  >'; 
	menuHtm +='</td>'; 
	menuHtm +=' <td align="right" ><img src="'+ menuPath  +'/MenuTR.gif" border="0" ></td>'; 
	menuHtm +=' </tr>'; 
	menuHtm +=' </table>';
	menuHtm +=' <table><tr style="height:36px;"><td></td></tr></table>';
	 
	document.write(menuHtm)
}

function fnLegalNoticeFooter()
{ 
var PageF="";

PageF +=''; 
PageF +='<table cellpadding="0" cellspacing="0" border="0" width="900" align="center" height="20" class="LegealTxt"  >'; 
PageF +='	<tr>';
PageF +='		<td align="right" width="1%"><img src="'+ menuPath  +'/MenuBL.gif" border="0" ></td>';  
PageF +='		<td align="center" width="30%" nowrap></td>';
PageF +='		<td align="center" width="50%" nowrap></td>';
PageF +='		<td align="center" width="30%" nowrap></td>';
PageF +='		<td align="right" width="1%"><img src="'+ menuPath  +'/MenuBR.gif" border="0" ></td>'; 
PageF +='	</tr>';
PageF +='</table>';
PageF +='<br/><br/>';

document.write(PageF);  
}


function fnRegisterSnapshot()
{
var RegHtm="";

 
 /*
RegHtm +='<img src="'+ menuPath  +'/RegNow.gif" align=center usemap="#Map" border="0">\n';
RegHtm +='<map name="Map">\n';
RegHtm +='  <area shape="poly" coords="121,36,129,32,130,19,123,13,31,13,26,19,24,25,26,31,30,36" href="javascript:openWin(\'Request_form.aspx?qstrMode=Register\',\'SubscribForm\',\'925\',\'600\');">\n';
RegHtm +='  <area shape="rect" coords="40,124,116,141" href="RBP_Snapshots.aspx">\n';
RegHtm +='</map>\n';
RegHtm +='<br><br>';
*/
 
RegHtm +='<div class="registerbox" style="padding-top:40px;margin-left:-10px;position:relative;">'; 
RegHtm +='<table align="center" cellpadding="0" cellspacing="0" border="0" height="120" style="width:173px:height:120px;BACKGROUND-IMAGE: url('+ menuPath  +'/RegNow.gif); BACKGROUND-REPEAT: no-repeat;background-position:0px 0px;"   >';
 
RegHtm +='	<tr>';
RegHtm +='		<td align="right" valign=top>';
RegHtm +='		<table cellpadding="3"  cellspacing="0" border="0" class="tblContentText" width="165">';
RegHtm +='		<tr>';
RegHtm +='			<td align="left" style="white-space:nowrap;font-size:11px;">';
RegHtm +='			<div align="left"  style="height:25px;padding-top:5px;"><a href="javascript:openWin(\'Request_form.aspx\',\'SubscribForm\',\'925\',\'600\');" style="font-weight:bold;font-size:13px;"><img src="'+ menuPath  +'/RegNowLink.gif" border=0></a><br></div>';
RegHtm +='			 To receive the free  RBP<sup>&reg;</sup> <br>snapshots for thousands of <br>companies   ';
RegHtm +='			<div align="right" style="PADDING-TOP:20px"><A href="RBP_Snapshots.aspx" style="font:11px arial;" target="_self">Learn more &gt;&gt;</A></div>';
RegHtm +='			</td>';
RegHtm +='		</tr>';
RegHtm +='		</table>';
RegHtm +='		</td>';
RegHtm +='	</tr>'; 
RegHtm +='	<tr>';
RegHtm +='	<td>';
RegHtm +='	<img src="'+ menuPath  +'/spacer.gif"  width="173" height="1"  border="0">'; 
RegHtm +='	</td>'; 
RegHtm +='	</tr>'; 
RegHtm +='</table>';
RegHtm +='</div>';
 
document.write(RegHtm); 

fnRequestInfo();
fnGlossary();

}

function fnRequestInfo()
{

var RegHtm="";
RegHtm +='<div class="registerbox" style="padding-top:10px;padding-bottom:20px;margin-left:-15px;position:relative;">';  
RegHtm +='<table align="center" cellpadding="0" cellspacing="0" border="0"  class="tblContentText"  height="120" style="width:178px:height:120px;BACKGROUND-IMAGE: url('+ menuPath  +'/RequestInfo.gif); BACKGROUND-REPEAT: no-repeat;background-position:0px 0px;"   >';
RegHtm +='	<tr><td height="70">';
RegHtm +='			<div align="left"  style="height:25px;padding-left:45px;"><a href="javascript:openWin(\'Contact_form.aspx\',\'ReqForm\',\'925\',\'600\');" style="font-weight:bold;font-size:13px;"><img src="'+ menuPath  +'/ReqInfoLink.gif" border=0></a><br></div>';
RegHtm +='</td></tr>';  
RegHtm +='	<tr>';  
RegHtm +='	<td align="center" style="white-space:nowrap;font-size:11px;"  >'; 
RegHtm +='		<table cellpadding="3"  cellspacing="0" border="0" class="tblContentText" width="145">';
RegHtm +='		<tr>';
RegHtm +='			<td align="left" style="white-space:nowrap;font-size:11px;">';
RegHtm +='			 Learn more about our indexes <br>and decision support tools.';
RegHtm +='			</td>';
RegHtm +='		</tr>';
RegHtm +='		</table>'; 
RegHtm +='	</td>';
RegHtm +='	</tr>'; 
RegHtm +='	<tr>';
RegHtm +='	<td>';
RegHtm +='	<img src="'+ menuPath  +'/spacer.gif"  width="178" height="1"  border="0">'; 
RegHtm +='	</td>'; 
RegHtm +='	</tr>';   
RegHtm +='</table>';
RegHtm +='</div>'; 

document.write(RegHtm); 

}

function fnRBPSnapLanding()
{

var RegHtm="";
RegHtm +='<div class="registerbox" style="padding-top:40px;margin-left:-10px;position:relative;">';  
RegHtm +='<table align="center" cellpadding="0" cellspacing="0" border="0" height="120" style="width:173px:height:120px;BACKGROUND-IMAGE: url('+ menuPath  +'/RBPExample.gif); BACKGROUND-REPEAT: no-repeat;background-position:0px 0px;"   >';
RegHtm +='	<tr>';  
RegHtm +='	<td align="left" style="white-space:nowrap;font-size:11px;" valign=top>';
RegHtm += '	<div  style="PADDING-LEFT:12px;PADDING-top:15px"><A  href="javascript:openWin(\'SampCompanies.aspx\',\'Landing\',\'925\',\'600\');"  style="font:12px arial;" target="_self"><img src="' + menuPath + '/RBPExaLink.gif" border=0 alt="Required Business Perfomance(RBP) Example"></A></div>';
RegHtm +='	</td>';
RegHtm +='	</tr>'; 
RegHtm +='	<tr>';
RegHtm +='	<td>';
RegHtm +='	<img src="'+ menuPath  +'/spacer.gif"  width="173" height="1"  border="0">'; 
RegHtm +='	</td>'; 
RegHtm +='	</tr>';   
RegHtm +='</table>';
RegHtm +='</div>'; 

document.write(RegHtm); 

}

function fnGlossary()
{

var GlosHtm="";
 
GlosHtm +="<script type='text/javascript' src='../JavascriptFileMenu/jsFileMenu.js'></script>";
GlosHtm +="<script type='text/javascript'>var dmWorkPath='../JavascriptFileMenu/'</script>";
GlosHtm +="<script language=javascript src=../JavascriptFileMenu/jsFmGlossary.js ></script>";
 
document.write(GlosHtm); 

}

