#contents_area {font-size:12px;}
body {background-color:#FFFFFF;}










<!–
/**
* 이미지 테이블크기와 맞쳐 재조정
*/
function resizeImage()
{
var img_max_width = 650;
var use_origin_img = 'Y';
if(use_origin_img == 'N') {
return;
}
var imgObj = document.getElementById("contents_area").getElementsByTagName("img");
var osrc;
for (i = 0; i img_max_width)
{
imgObj[i].style[‘width’] = img_max_width+’px’;
imgObj[i].style[‘height’] = ‘auto’;
}
if( imgObj[i].parentNode.tagName != “A” )
{
imgObj[i].style.cursor = “pointer”;
imgObj[i].onclick = function(){ showPicture(this); }
}
}
document.getElementById(“contents_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 += “"+"script>“;
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();
}
//–>
대한민국유권자총연맹