[부산] 성가 병원CCTV 추가 증설
각층에 cctv 추가 포설 작업입니다.
<믿고 맏길수 있는 CCTV공사업체를 원하시면 Call 1600-1064>
<!-- /** * 이미지 테이블크기와 맞쳐 재조정 */ function resizeImage() { var img_max_width = 615; var use_origin_img = 'Y'; if(use_origin_img == 'N') { return; }
var imgObj = document.getElementById("post_area").getElementsByTagName("img"); var osrc; for (i = 0; i ");
pNode.insertBefore(imgContainer, imgObj[i]); imgContainer.appendChild(imgObj[i]); osrc = imgObj[i].src;*/ if(imgObj[i].width > img_max_width) {
imgObj[i].style['width'] = img_max_width; imgObj[i].style['height'] = 'auto'; }
if( imgObj[i].parentNode.tagName != "A" ) { imgObj[i].style.cursor = "pointer";
imgObj[i].onclick = function(){ showPicture(this); } }
/*imgContainer.style.marginBottom = "0px"; imgObj[i].style.cursor = "pointer"; // declare onclick event
if( imgObj[i].parentNode.tagName == "div" ) {
if( imgObj[i].parentNode.parentNode.tagName == "A" ) { imgObj[i].onclick = function() {
if( this.parentNode.parentNode.target != "_blank" ){
location.href = this.parentNode.parentNode.href; } }; } else{
imgObj[i].onclick = function(){ showPicture(this); } } }
else if( imgObj[i].parentNode.tagName != "A" ) {
imgObj[i].onclick = function(){ showPicture(this); } }*/ }
document.getElementById("post_area").style.visibility = "visible"; } /** * 팝업 이미지 */ function showPicture(obj) { var imgObj = new Image(); imgObj.src = obj.src;
var wopt = "scrollbars=yes,status=no,resizable=no"; wopt += ",width=" + imgObj.width; wopt += ",height=" + imgObj.height; var wbody = " "; wbody += "function finalResize(){"; wbody += " var oBody=document.body;";
wbody += " var oImg=document.images[0];";
wbody += " var xdiff=oImg.width-oBody.clientWidth;";
wbody += " var ydiff=oImg.height-oBody.clientHeight-20;";
wbody += " window.resizeBy(xdiff,ydiff);"; wbody += "}"; wbody += " "; wbody += " "; wbody += " "; wbody += " ";
winResult = window.open("about:blank","",wopt);
winResult.document.open("text/html", "replace"); winResult.document.write(wbody); winResult.document.close(); return; } /** * 함수 실행 */ window.onload = function() { resizeImage(); } //-->