www_dir = "{WWW_DIR}";
winid = "{WINID}";
closeminimizediv = document.getElementById("closeminimize");
// make the minimize icon
minimizeicon = document.createElement("IMG");
minimizeicon.src="{WWW_DIR}templates/images/minimize_norm.gif";
minimizeicon.id = "minimize";
closeminimizediv.appendChild(minimizeicon);
addevent(minimizeicon,"mousedown",changeicon,false);
addevent(minimizeicon,"mouseout",changeicon,false);
addevent(minimizeicon,"mouseup",changeicon,false);
addevent(minimizeicon,"click",minimize,false);
// make the close icon
closeicon = document.createElement("IMG");
closeicon.src="{WWW_DIR}templates/images/close_norm.gif";
closeicon.id = "close";
closeminimizediv.appendChild(closeicon);
addevent(closeicon,"mousedown",changeicon,false);
addevent(closeicon,"mouseout",changeicon,false);
addevent(closeicon,"mouseup",changeicon,false);
addevent(closeicon,"click",closewin,false);
refreshprintdiv = document.getElementById("refreshprint");
// make the refresh button
refreshbtn = document.createElement("IMG");
refreshbtn.src = "{WWW_DIR}templates/images/refresh_norm.gif";
refreshbtn.id = "refresh";
refreshprintdiv.appendChild(refreshbtn);
addevent(refreshbtn,"mouseover",group_email_action,false)
addevent(refreshbtn,"mousedown",group_email_action,false);
addevent(refreshbtn,"mouseout",group_email_action,false);
addevent(refreshbtn,"mouseup",group_email_action,false);
addevent(refreshbtn,"click",group_email_action,false);
// make the print button
printbtn = document.createElement("IMG");
printbtn.src = "{WWW_DIR}templates/images/print_norm.gif";
printbtn.id = "print";
refreshprintdiv.appendChild(printbtn);
addevent(printbtn,"mouseover",group_email_action,false);
addevent(printbtn,"mousedown",group_email_action,false);
addevent(printbtn,"mouseout",group_email_action,false);
addevent(printbtn,"mouseup",group_email_action,false);
addevent(printbtn,"click",group_email_action,false);
Wyszukiwarka
Podobne podstrony:
group email logsgroup email selectgroup email click thrusgroup email statsSuperficial Fascia in the Hip Adductor Muscle Group tapeSPgroup avr errnogroup corrgroup matrix subgroup util ?layemail template product notificationwięcej podobnych podstron