var k=0,j=0,x=0;
<!--
function setpv(allnum){
	var num = allnum.split('_');
    var h=num.length-1;
	for(p=0;p<h;p++){
		if(document.getElementById("div"+p)){ 
			document.getElementById("div"+p).innerHTML = num[p] ;
		}
    }
	if(document.getElementById("pvshow")){
		document.getElementById("pvshow").innerHTML=num[num.length-1];
	}
}
var g_pop=null;
//alert('test');
function closePopup(){
	g_pop.close();
	setTimeout("window.location.reload();",100);
}
function formatonlinpic(){
	var picobj=document.getElementsByName("onlinepic");
	var picnum=picobj.length;
	for(var i=0;i<picnum;i++)	{
		if(picobj[i].width>200)		{
			picobj[i].width=200;
		}
		if(picobj[i].height>200)		{
			picobj[i].height=200;
		}
	}
	
	if(document.getElementById("mod_bloglist")){
		var imgarray = document.getElementById("mod_bloglist").getElementsByTagName('img');
		var imgw = document.getElementById("mod_bloglist").offsetWidth;
	
		//var imgw = document.getElementById("mod_bloglist").clientWidth;
		//alert(imgw);
		
		imgw =imgw-40;
		for(var i=0; i<imgarray.length; i++){
			if(imgarray[i].className=="blogimg" && imgarray[i].width>=imgw) {
				var rate=imgarray[i].width/imgarray[i].height;
				imgarray[i].width=imgw;
				imgarray[i].height=imgw/rate;
			}
		}
	}
}


function artclgObj(id,title,num){
	this.id=id;
	this.title=title;
	this.num=num;
}
function circleObj(id,title,domain,classicFlag){
	this.id=id;
	this.title=title;
	this.domain=domain;
	this.classicFlag=classicFlag;
}
function bcmtObj(cmtType,cmtUrl,cmtname,boardId,boardCnt){
	this.cmtType=cmtType;  
	this.cmtUrl=cmtUrl; 
	this.cmtname=cmtname;
	this.boardId=boardId;
	this.boardCnt=boardCnt;
}
function cmtObj(isLogin,urlEmail,userName,artId,id,content){
	this.isLogin=isLogin;
	this.urlEmail=urlEmail;
	this.userName=userName;
	this.artId=artId;
	this.id=id;
	this.content=content;
}
function linkObj(url,title,descri){
	this.url=url;
	this.title=title;
	this.descri=descri;
}
function filedObj(year,month,num){
	this.year=year;
	this.month=month;
	this.num=num;
}
function folderFavorObj(id,title){
	this.id=id;
	this.title=title;
}
function favorObj(id,title,url){
	this.id=id;
	this.title=title;
	this.url=url;
}
var ablumpicsrcs = new Array();
var ablumpicurls = new Array();
