/* fonts for Mac OS X */
function createStylesheetLink(cssname){
	if(cssname != 'undefined'){
		document.writeln('<link rel="stylesheet" type="text/css" href="/common/css/'+cssname+'.css" title="standard" />');
	}
	else{
		//alert(cssname);
	}
}

userAgent=navigator.userAgent;

if ((userAgent.indexOf('MSIE 5.12') != -1) || (userAgent.indexOf('MSIE 5.2') != -1)) {
	/* IE 5.12 for Mac OS X 10.0, IE 5.2 for Mac OS X 10.3 */
	createStylesheetLink("fonts_for_mac_carbon");

} else if ((userAgent.indexOf('Mozilla') != -1) && (userAgent.indexOf('Mac OS X') != -1)) {
	if (userAgent.indexOf('AppleWebKit') != -1){
		/* Apple Safari, OmniWeb 4.5 */
		createStylesheetLink("fonts_for_mac_webkit");

	}else{
		/* Netscape 6 or later */
		createStylesheetLink("fonts_for_mac_carbon");
	}
}

/* For Mac IE 5.14 : this version exists for Mac OS 9 and X */
if(userAgent.indexOf('MSIE 5.14') != -1){
	if (navigator.plugins) {
		for (i=0; i < navigator.plugins.length; i++ ) {
			if (navigator.plugins[i].name.indexOf("QuickTime") >= 0 && navigator.plugins[i].filename.indexOf('.plugin')!=-1){
				/* IE 5.14 for Mac OS X */
				createStylesheetLink("fonts_for_mac_carbon");
			}
		}
	}
}
function browserCheck() {
	this.ver = navigator.appVersion;
	this.agent = navigator.userAgent;
	this.dom = document.getElementById ? 1 : 0;
	this.opera6 = ((this.agent.indexOf("Opera 6") > -1) && this.dom) ? 1 : 0;
	this.ie5 = ((this.ver.indexOf("MSIE 5") > -1) && this.dom && !this.opera6) ? 1 : 0;
	this.ie6r = ((this.ver.indexOf("MSIE 6") > -1) && this.dom && (document.compatMode == "BackCompat")) ? 1 : 0;
	this.ie6s = ((this.ver.indexOf("MSIE 6") > -1) && this.dom && (document.compatMode == "CSS1Compat")) ? 1 : 0;

	if (typeof document.documentElement.style.msInterpolationMode != "undefined") {
		// IE 7 or newer
		this.ie7=1;
		//alert('ie7');
	} else {
		// IE 6 or older, Gecko, Opera, etc.
	}

	this.ie4 = (document.all && !this.dom) ? 1 : 0;
	this.ie = (this.ie4 || this.ie5 || this.ie6r || this.ie6s || this.ie7) ? 1 : 0;
	this.mac = (this.agent.indexOf("Mac") > -1) ? 1 : 0;
	this.ns6 = (this.dom && (parseInt(this.ver) >= 5)) ? 1 : 0;
	this.ns4 = (document.layers && !this.dom) ? 1 : 0;
	this.ns = (this.ns4 || this.ns6) ? 1 : 0;
	this.bw5 = (this.ie5 || this.ie6r) ? 1 : 0;
	this.bw6 = (this.ie7 || this.ie6s || this.ns6 || this.opera6) ? 1 : 0;

	this.bw = (this.ie7 || this.ie6r || this.ie6s || this.ie5 || this.ns6 || this.opera6) ? 1 : 0;
	return this;
}

function getDiv(id){
	//var div = bw.bw5 ? document.all(id) : (bw.bw6 || bw.ie7) ? document.getElementById(id) : 0;
	var obj =document.getElementById(id);
	
	return obj;
}
function getListener(evt){
	var myElement;
	if(window.addEventListener) {
		myElement = evt.target;
	}else{
		myElement = event.srcElement;
	}
	return myElement;
}


function getScrollLeft(){
	var sx = (bw.ie7 || bw.ie6s) ? document.documentElement.scrollLeft : bw.bw5 ? document.body.scrollLeft : (bw.ns6 || bw.opera6) ? window.pageXOffset : 0;
	if(bw.ie7){
		sx = document.body.scrollLeft;
	}
	return sx;
}

function getScrollTop(){
	var sy = (bw.ie7 || bw.ie6s) ? document.documentElement.scrollTop : bw.bw5 ? document.body.scrollTop : (bw.ns6 || bw.opera6) ? window.pageYOffset : 0;
	if(bw.ie7){
		sy = document.body.scrollTop;
	}
	return sy;
}

//ウインドウサイズ取得
function getWindowSize(type){
	switch(type){
		case "width":
			if(document.all){
				return(document.body.clientWidth);
			}else{
				return(window.innerWidth);
			}
		break;
		case "height":
			if(document.all){
				return(document.body.clientHeight);
			}else{
				return(window.innerHeight);
			}
		break;
		default:
			return(-1);
		break;
	}
}



function absoluteX(id){
			//	hc = document.getElementsByClassName('highslide-cont');
	//alert(hc.length);
	var x=0;

	var obj=getDiv(id);

	var pre_obj;
	while(true){
		if(obj){
			if(pre_obj){
				//obj.parentElementはobjを返さない->Mac fireFox
				//その他ブラウザは未確認 2008.2.4
				obj = pre_obj.offsetParent;
				if(!obj){
					//alert('break');
					break;
				}
			}else{
				obj = obj;
			}

			//alert(obj.id+'/x:'+obj.offsetLeft);
			if(obj.offsetLeft){
				//alert(obj.id+'/x:'+obj.offsetLeft);
				x+= parseInt(obj.offsetLeft);
				x-=parseInt(obj.scrollLeft);
			}
			//else if(obj.offsetLeft && !obj.id){
			//	alert(obj.id+'/x:'+obj.offsetLeft);
			//}
			pre_obj=obj;
			//id = obj.offsetParent.id;
		}else{
			break;
		}
	}


	return x;
}


function absoluteY(id){
	var y=0;
	var obj=getDiv(id);
	var pre_obj;
	while(true){
		if(obj){
			if(pre_obj){
				//obj.parentElementはobjを返さない->Mac fireFox
				//その他ブラウザは未確認 2008.2.4
				obj = pre_obj.offsetParent;
				if(!obj){
					//alert('break');
					break;
				}
			}else{
				obj = obj;
			}

			
			if(obj.scrollTop){
				//alert(obj.scrollTop+'/'+obj.offsetTop+'/'+obj.id);
			}

			
			if(obj.offsetTop){
				//alert(obj.id+'/y:'+obj.offsetTop);
				y+= parseInt(obj.offsetTop);
				//スクロール
				y-=parseInt(obj.scrollTop);
			}
			//else if(obj.offsetTop && !obj.id){
				//alert(obj.id+'/y:'+obj.offsetTop);
			//}
			pre_obj=obj;
			//id = obj.offsetParent.id;
		}else{
			break;
		}
	}
	return y;
}
function absoluteYooo(id){
	var y=0;
	while(true){
		if(id){
			var obj = getDiv(id);
			y += parseInt(obj.offsetTop);
			id = obj.offsetParent.id;
		}else{
			break;
		}
	}
	return y;
}


function cursorChange(type){
	document.body.style.cursor=type;
}
function subElementValue(fname,ename,val){
	//フォームの比較

	var num;
	for(var i=0; i< document.forms.length; i++){
		//alert(document.forms[i].name);
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//alert(num);
	
	//エレメントの比較
	for(var i=0; i< document.forms[num].elements.length; i++){
		if(document.forms[num].elements[i].name==ename){
			document.forms[num].elements[i].value=val;
		}
	}
}
function getElementValue(fname,ename){
	//フォームの比較
	var num;
	for(var i=0; i< document.forms.length; i++){
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//エレメントの比較
	var val;
	for(var i=0; i< eval(document.forms[num].elements.length); i++){

		if(document.forms[num].elements[i].name==ename){
			val = document.forms[num].elements[i].value;
		}
	}
	return val;
}

function getChecked(fname,ename){
	//フォームの比較
	var num;
	for(var i=0; i< document.forms.length; i++){
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//エレメントの比較
	var val;
	for(var i=0; i< eval(document.forms[num].elements.length); i++){
		if(document.forms[num].elements[i].name==ename){
			val = document.forms[num].elements[i].checked;
		}
	}
	return val;
}
function putChecked(fname,ename, val){
	//フォームの比較
	var num;
	for(var i=0; i< document.forms.length; i++){
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//エレメントの比較
	for(var i=0; i< eval(document.forms[num].elements.length); i++){
		if(document.forms[num].elements[i].name==ename){
			document.forms[num].elements[i].checked=val;
		}
	}
}

function getTrueValue(fname,ename){
	//フォームの比較
	var num;
	for(var i=0; i< document.forms.length; i++){
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//エレメントの比較
	var val;
	for(var i=0; i< eval(document.forms[num].elements.length); i++){
		if(document.forms[num].elements[i].name==ename){
			if(document.forms[num].elements[i].checked){
				val = document.forms[num].elements[i].value;
			}
		}
	}
	return val;
}

function makeFormParam(fname){
	//フォームの比較
	var num;
	for(var i=0; i< document.forms.length; i++){
		if(document.forms[i].name==fname){
			num = i;
		}
	}
	//エレメントの比較
	var val='';
	for(var i=0; i< eval(document.forms[num].elements.length); i++){
		val+='&'+document.forms[num].elements[i].name+'='+document.forms[num].elements[i].value;

	}
	return val;
}
function saveCookie(name, dat, expire_time) {	//クッキー名	CookieName = name+"=";		// 現在の日付	NowDate = new Date();		//有効期限日付	NowDate.setTime(NowDate.getTime() + (expire_time*1000));	ExpireDate = NowDate.toGMTString();	//クッキー保存	document.cookie = CookieName + escape(dat) + ";path=/;expires=" + ExpireDate;}// クッキーの読み込みfunction loadCookie(name) {	CookieData = "";	CookieName = name+"="; 	cCookie = document.cookie+";";	str = cCookie.indexOf(CookieName);	if(str != -1) {		end = cCookie.indexOf(";",str);		CookieData = unescape(cCookie.substring(str + CookieName.length, end));	}	return CookieData;}var flashObj =new Object();

var bw = new browserCheck;
var stopFlag=0;
function flashObjInit() {
	flashObj = document.getElementsByClassName('flashObj');
}

function stopFlash() {
	if(stopFlag){
		return false;
	}
	flashObjInit;
	for(i=0; i < flashObj.length; i++) {
		for(j=0; j< flashObj[i].childNodes.length; j++){
		
			//オブジェの場合幅高さ親に代入してレイアウトを保つ
			if(flashObj[i].childNodes[j].tagName=='OBJECT'){
				flashObj[i].childObj= flashObj[i].childNodes[j];
				flashObj[i].style.width = flashObj[i].childNodes[j].width;
				flashObj[i].style.height= flashObj[i].childNodes[j].height;
			}
		}
		flashObj[i].intext='';
		flashObj[i].intext = flashObj[i].innerHTML;
		flashObj[i].innerHTML='';
	}



	stopFlag=1;
}


function startFlash() {
	for(i=0; i < flashObj.length; i++) {
		flashObj[i].innerHTML= flashObj[i].intext;

	}
	stopFlag=0;
}

function setVarFlash(obj_name,flash_var_name, form_name, input_name){
	var val=getElementValue(form_name, form_name);
	window.document[obj_name].SetVariable(flash_var_name, val)
}


/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
bw = new browserCheck;
var makerObj = new Object;

function sendXRequest( callback , param , url, method){

	var obj = createHttpRequest();

	if( obj == null ) return null;
	var bw = navigator.userAgent;
	var safari	= bw.indexOf("Safari")!=-1;
	var konqueror = bw.indexOf("Konqueror")!=-1;
	var moz	 = ((a=navigator.userAgent.split("Gecko/")[1] )?a.split(" ")[0]:0) >= 20011128; 



	if(window.opera || safari || moz){
		obj.onload = function () {callback(obj);}
	}else{
		obj.onreadystatechange =function () {
			if ( obj.readyState == 4 ){
				callback(obj);
			}
		}
	}

	obj.open( method , url , 'true' );

	if(method){
		if(!window.opera){
			obj.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		}
	}
	obj.send(param);

}


function createHttpRequest(){
	if(window.ActiveXObject && !bw.ie7){
		try {
			return new ActiveXObject("Msxml2.XMLHTTP");
		} 
		catch (e) {
			try {
				return new ActiveXObject("Microsoft.XMLHTTP");
			} 
			catch (e2) {
				return null;
			}
		 }
	} 
	else if(window.XMLHttpRequest){
		return new XMLHttpRequest();
	} 
	else {
		return null;
	}
}

function onText(id, text_color) {
	cursorChange('pointer');

	getDiv(id).style.color= text_color? text_color:'#f00';
}
function offText(id, text_color) {
	cursorChange('auto');
	getDiv(id).style.color = text_color? text_color:'#ccc';
}





function onText2(obj, text_color) {
	cursorChange('pointer');
	obj.style.color= text_color?text_color:'#f00';
}
function offText2(obj, text_color) {
	cursorChange('auto');

	obj.style.color= text_color?text_color:'#ccc';
}

function onBorder(id, text_color) {
	cursorChange('pointer');

	getDiv(id).style.borderColor = text_color? text_color:'#f00';
}
function offBorder(id, text_color) {
	cursorChange('auto');
	getDiv(id).style.borderColor = text_color? text_color:'#ccc';
}





function onBorder2(obj, text_color) {
	cursorChange('pointer');
	obj.style.borderColor = text_color?text_color:'#f00';
}
function offBorder2(obj, text_color) {
	cursorChange('auto');

	obj.style.borderColor= text_color?text_color:'#ccc';
}


function onButton(id, bgcolor) {
	cursorChange('pointer');

	getDiv(id).style.backgroundColor= bgcolor? bgcolor:'#f00';
}
function offButton(id, bgcolor) {
	cursorChange('auto');

	getDiv(id).style.backgroundColor= bgcolor? bgcolor:'#ccc';
}



function onButton2(obj, bgcolor) {
	cursorChange('pointer');

	obj.style.backgroundColor= bgcolor? bgcolor:'#f00';
}
function offButton2(obj, bgcolor) {
	cursorChange('auto');

	obj.style.backgroundColor= bgcolor? bgcolor:'#ccc';
}


function onImage(id, src) {
	cursorChange('pointer');
	
	var path='url('+src+')';
	getDiv(id).style.backgroundImage= path;
}
function offImage(id, src) {
	cursorChange('auto');

	var path='url('+src+')';
	getDiv(id).style.backgroundImage= path;
}


function onImage2(obj, src) {
	cursorChange('pointer');

	var path='url('+src+')';
	obj.style.backgroundImage= path;
}
function offImage2(obj, src) {
	cursorChange('auto');

	var path='url('+src+')';
	obj.style.backgroundImage= path;
}

function on3Image(obj, path,cname,fcolor) {
	cursorChange('pointer');

	document.getElementById(obj.id+'-left').style.backgroundImage='url('+path+cname+'-left-on.gif)';
	document.getElementById(obj.id+'-center').style.backgroundImage='url('+path+cname+'-center-on.gif)';
	document.getElementById(obj.id+'-right').style.backgroundImage='url('+path+cname+'-right-on.gif)';
	document.getElementById(obj.id+'-text').style.color=fcolor;

}
function off3Image(obj, path, cname,fcolor) {
	cursorChange('auto');

	document.getElementById(obj.id+'-left').style.backgroundImage='url('+path+cname+'-left-off.gif)';
	document.getElementById(obj.id+'-center').style.backgroundImage='url('+path+cname+'-center-off.gif)';
	document.getElementById(obj.id+'-right').style.backgroundImage='url('+path+cname+'-right-off.gif)';
	document.getElementById(obj.id+'-text').style.color=fcolor;

}




function classOpenClose(class_name) {
	var sameClass =new Object();
	sameClass = document.getElementsByClassName(class_name);

	var pos=sameClass[0].style.position=='static' || sameClass[0].style.position==''?'absolute':'static';
	var vis=sameClass[0].style.visibility =='visible' || sameClass[0].style.visibility ==''?'hidden':'visible';

	for(i=0; i < sameClass.length; i++) {
		sameClass[i].style.position = pos;
		sameClass[i].style.visibility = vis;

		var check=0;
		for(j=0; j< sameClass[i].childNodes.length; j++){
			childCont = sameClass[i].childNodes;
			if(childCont[j].className && !check){
				var sameClass2 =new Object();
				sameClass2=document.getElementsByClassName(childCont[j].className)
				for(k=0; k < sameClass2.length; k++) {
					sameClass2[k].style.position = pos;
					sameClass2[k].style.visibility = vis;
				}
				check=1;
			}
		}

	}




}

function divOpenClose(id) {
	var obj = getDiv(id);
	obj.style.position=obj.style.position=='static' || obj.style.position==''?'absolute':'static';
	obj.style.display='inline';

	obj.style.visibility =obj.style.visibility =='visible' || obj.style.visibility ==''?'hidden':'visible';
}

