function mini_blog() {
var miniblogname = document.form.miniblogid.value;
var open = "./board/mini+miniblogname+.htm";
window.open(open,'mini_blogi','status=yes,width=932,height=539,top=10,left=10,statusbar=no,scrollbars=no');
}
function checkid() {
if (!form.miniblogid.value) {
alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä");
form.miniblogid.focus();
return false;
}
mini_blog();return false;
}
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}

var slideimages=new Array()
var slidelinks=new Array()

function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages[i]=new Image()
slideimages[i].src=slideshowimages.arguments[i]
}
}
function slideshowlinks(){
for (i=0;i<slideshowlinks.arguments.length;i++)
slidelinks[i]=slideshowlinks.arguments[i]
}
function gotoshow(){
window.location=slidelinks[whichlink]
}
function mini_blog() {
var miniblogname = document.form.miniblogid.value;
var open = "http://www.animalrepublic.co.kr/board/mini"+miniblogname+".htm";
window.open(open,'mini_blog','width=932,height=539, statusbar=no,scrollbars=auto,toolbar=no,resizable=no');
}
function checkid() {
if (!form.miniblogid.value) {
alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
form.miniblogid.focus();
return false;
}
mini_blog();return false;
}
function Find_Obj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=Find_Obj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function Show_Hide(){
  var i,p,v,obj,args=Show_Hide.arguments;
  for (i=0; i<(args.length-2); i+=3)
	  if ((obj=Find_Obj(args[i]))!=null){
		v=args[i+2];
	  if (obj.style){
		 obj=obj.style;
		v=(v=='show')?'visible':(v='hide')?'hidden':v;
		}
   obj.visibility=v;
   }
}
function changeToBlog()
{
    document.all.HOTPOSTDIV.style.display = "none";
    document.all.HOTBLOGDIV.style.display = "inline";
}
function changeToDiary()
{
    document.all.HOTBLOGDIV.style.display = "none";
    document.all.HOTPOSTDIV.style.display = "inline";
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);