var SITE_BASE_HREF = 'http://www.myconiancollection.gr/'; var CONDOR_BASE_SOCKETS_HREF = 'http://www.myconiancollection.gr/condor/sockets/'; var CONDOR_BASE_IMAGE_HREF = 'http://www.myconiancollection.gr/condor/images/'; function id(id) { return document.getElementById(id); } function setClass(objectID, newClass) { var object = document.getElementById(objectID); if(object) { object.className = newClass; } } function setStyleDef(objectID, styleName, newVal) { var object = document.getElementById(objectID); if(object) { object.style[styleName] = newVal; } } function disableBody() { var blockBody = document.getElementById('blockBody'); if(blockBody == null) { var body = document.getElementsByTagName("body").item(0); var div = document.createElement("div"); div.id = "blockBody"; div.innerHTML = ""; div.className = "semiTrans"; body.appendChild(div); } setStyleDef('blockBody', 'visibility', 'visible'); if(document.body.clientHeight) { var newHeight = document.body.clientHeight; } else { var newHeight = document.height; } setStyleDef('blockBody', 'height', newHeight + 'px'); setStyleDef('blockBody', 'zIndex', '4000'); } function showWait() { disableBody(); var waitNotice = document.getElementById('waitNotice'); if(waitNotice == null) { var body = document.getElementsByTagName("body").item(0); var div = document.createElement("div"); div.id = "waitNotice"; div.innerHTML = "