function chooseStyle(choice){        styleObj = document.forms[0].style;	var styleLength = styleObj.length;	//alert ("choice = " + choice + ",  styleLength = " + styleLength );	if(styleLength == undefined) {		return;	}	for(var i = 0; i < styleLength; i++) {		styleObj[i].checked = false;		if(styleObj[i].value == choice)              {	styleObj[i].checked = true;                    //if no siteid has been assigned yet, sbmit the form so one is created                    //if we don't do this, the preview button doesn't work the first time its clicked.                   //if (jssiteid == "") {document.forms[0].submit();}    		     }	}}
