var gRefer2 = parent.location.href;
var text2;
text2="";

text2=text2+'<input type="hidden" name="fx_company" value="demo">';

if (gRefer2.indexOf('softrade') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="soft">';		
else
if (gRefer2.indexOf('soba') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="soba">';
else
if (gRefer2.indexOf('cpro') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="cpro">';
else
if (gRefer2.indexOf('fxinvest') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="fvst">';
else
if (gRefer2.indexOf('fxstreet') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="fxst">';
else
if (gRefer2.indexOf('getz') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="getz">';
else
if (gRefer2.indexOf('dayt') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="dayt">';
else
if (gRefer2.indexOf('pvit') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="pvit">';
else
if (gRefer2.indexOf('tfinch') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="tfin">';
else
if (gRefer2.indexOf('nostra') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="nost">';
else
if (gRefer2.indexOf('fbrd') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="fbrd">';
else
if (gRefer2.indexOf('fstb') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="fstb">';
else
if (gRefer2.indexOf('ccfx') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="ccfx">';
else
if (gRefer2.indexOf('vegas03') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="trad">';
else
if (gRefer2.indexOf('pfxt') > -1) 
	text2=text2+'<input type="hidden" name="fx_sub_company" value="pfxt">';
else
	text2=text2+'<input type="hidden" name="fx_sub_company" value="demo">';
	
	
text2=text2+'<tr valign="top"><td width="164" align="right" class="textblack"><font color="red">*</font><b>Please select a trading profile:</b> <span class="textblack"><br>(choose one)</span><br></td><td width="400"><span class="textblack"><INPUT TYPE="radio" NAME="trading_profile" VALUE="FXT">I am a FX trader and will manage my own account <a href="javascript:void(0);" onmouseover="return overlib(\'Choose this profile if you are an individual who makes your own trading decisions.\', CAPTION, \'FX Trader\', RIGHT);" onmouseout="nd();"><img src="images/info.gif" border="0"></a><br><input type="radio" name="trading_profile" value="PRO">I am a professional trader / money manager <a href="javascript:void(0);" onmouseover="return overlib(\'Choose this profile if you manage other people`s risk capital and have specific back office requirements.\', CAPTION, \'Professional Trader\', RIGHT);" onmouseout="nd();"><img src="images/info.gif" border="0"></a><br><input type="radio" name="trading_profile" value="IB">I am an Introducing Broker <a href="javascript:void(0);" onmouseover="return overlib(\'Choose this profile if you have FX trading clients you would like to introduce to GAIN Capital.\', CAPTION, \'Introducing Broker\', RIGHT);" onmouseout="nd();"><img src="images/info.gif" border="0"></a><br><input type="radio" name="trading_profile" value="WHI">I want to white label GAIN\'s trading technology <a href="javascript:void(0);" onmouseover="return overlib(\'Choose this profile if you are a financial services firm looking to offer online FX trading capabilities to your client base.\', CAPTION, \'White Label\', RIGHT);" onmouseout="nd();"><img src="images/info.gif" border="0"></a></span></td></tr><tr><td class="bodyblackbold" align="right" width="164"></td><td width="278"><input type="hidden" name="SendCD" value="0"></td></tr><tr align="center"><td colspan="2" class="bodyredbold"></td></tr>';
		
document.write(text2);