switch(clType){	
	case 'custom': 
		if(!clWidth) var clWidth = 300;
		if(!clHeight) var clHeight = 130;
	break;
	default:
		if(!clWidth) var clWidth = 330;
		if(!clHeight) var clHeight = 130;
	break;
	case 'horizontal': 
		if(!clWidth) var clWidth= 545;	
		if(!clHeight) var clHeight= 95;
	break;
}
document.write('<iframe src="http://tools.herbalrevenue.com/calcEngine3.php?bgImg='+bgImg+'&brType='+brType+'&knType='+knType+'&ct='+clType+'&bg='+bgColor+'&txt='+txColor+'&nm='+nmColor+'&ns='+nsColor+'&gs='+gsColor+'&rb='+rbColor+'" style="border:1px solid #'+rbColor+';" frameborder="0" scrolling="no" border="0" width="'+clWidth+'" height="'+clHeight+'"></iframe>');
