function startUpload(){gID("frmDesignUpload").target="upload_target";gID("frmDesignUpload").action="catalog/view/theme/default/template/designit/cs/upload.php";$("#f1_ex_img").fadeOut(100,function(){$("#f1_upload_process").fadeIn(200)});document.frmDesign.submit();return true}function stopUpload(b){gID("frmDesignUpload").target="";gID("frmDesignUpload").action="process.php";var a="";if(b==1){usrCustomLogoImage="catalog/view/theme/default/template/designit/cs/gen_thumb.php?ts="+fetch_unix_timestamp();gID("f1_status_text").innerHTML="Processing, please wait...";jsUpdate()}return true}function showUpload(){disableUI();gID("controlUpload").style.display="block";centreObject("controlUpload")}function resetUpload(){gID("controlUpload").style.display="none";gID("f1_upload_process").style.display="none";gID("f1_ex_img").style.display="block";enableUI()};