function writeJS(){
if (size=="250") {width = "250"; height = "150";}
if (size=="125") {width = "125"; height = "150";} 
if (size=="728") {width = "728"; height = "60";}
if (curr1=="") {curr1 = "USD";}
if (expressedas=="") {expressedas = "USD";}
if (amt=="") {amt = "1.00";}
var str='';
str+='<table border=\"0\" width=\"'+width+'\" cellspacing=\"0\" cellpadding=\"0\">';
str+='<tr>';
str+='<td><table border=\"0\" width=\"'+width+'\" cellspacing=\"0\" cellpadding=\"0\">';
str+='<\/table>';
str+='<\/tr>';
str+='<tr>';
str+='<td><table border=\"0\" width=\"'+width+'\" cellspacing=\"0\" cellpadding=\"0\">';
str+='<tr>';
str+='<td style=valign=\"top\" align=\"left\"><iframe src=\"http:\/\/www.foreignexchangeresource.com/currency-converter.php?curr1='+curr1+'&amt='+amt+'&expressedas='+expressedas+'&size='+size+'\"  width=\"100%\" height=\"'+height+'\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"No\"><\/iframe><\/td>';
str+='<\/tr>';
str+='<\/table><\/td>';
str+='<\/tr>';
str+='<\/table>';
str+='</div></td></tr></table>';
document.write(str);
}
writeJS();
