//Function to open preview window
function OpenPreviewWindow(formName){
now = new Date;
submitAction = formName.action;
submitTarget = formName.target;
//Open the window first
winOpener('','preview',1,1,680,400)
//Now submit form to the new window
formName.action = 'RTE_popup_preview.asp?ID=' + now.getTime();
formName.target = 'preview';
formName.submit();
//Reset submission
formName.action = submitAction;
formName.target = submitTarget;
}
//Function to hover button icon
function overIcon(iconItem){
iconItem.className='WebWizRTEbuttonOver';
}
//Function to moving off button icon
function outIcon(iconItem){
iconItem.className='WebWizRTEbutton';
}