function show_img(width,height,s_url){
	var imgnwin=window.open(s_url,"imgswin","resizable=yes,scrollbars=yes,toolbar=yes,location=no,directoties=no,status=no,menubar=no,width="+width+",height="+height);
}

function show_bask(width,height,s_url){
	var basknwin=window.open(s_url,"baskswin","resizable=yes,scrollbars=yes,toolbar=no,location=no,directoties=no,status=no,menubar=no,width="+width+",height="+height);
}

function active_win(surl){
	window.opener.document.location=surl;
}

var v_basket_str='';

function show_div(id_cur){
    var div_set=null;
    div_set=document.getElementById(id_cur);
    if (div_set!=null) {
        if (div_set.style.display=="block") div_set.style.display="none";
        else div_set.style.display="block";
    }
}

function show_parent_div(div_par){
    var IDParentElement="", NextParentElement="";
		var obj=null;
		var obj1=null;
    if (document.getElementById(div_par)!=null) {
		obj1=document.getElementById(div_par);
		for(var i=0; i<10; i++) {
			obj=obj1;
			if (obj!=null) {
				if (obj.id!="" && obj.style.display!="block") {
					obj.style.display="block";
				}
			}
			else break;
			obj1=eval("obj.parentElement");
		}
	}
}

