<!--
function chFram(tar_l,tar_r) {	
	this.document.write('<html><head><title>www.alterego.com.ua - Арт Галерея Alter Ego</title>');	
	this.document.write('</head>');	
	this.document.write('<frameset cols="210,*">');
	this.document.write('<frame src="'+tar_l+'" name="leftgal" scrolling="Auto">');
    this.document.write('<frame src="'+tar_r+'" name="rightgal" scrolling="Auto">');
    this.document.write('</frameset>');
	this.document.write('</html>');	
	
		if (self.parent.frames.length != 0) {
	   self.parent.frames[0].location = tar_l;
	   self.parent.frames[1].location = tar_r;
	   }
	
	this.document.write('<noframes>');
    this.document.write('<body text="#000000" bgcolor="#d2d2d2">');
	this.document.write('<div align="center"><h3>');	
    this.document.write("<p><br>This page uses frames, but your browser doesn't support them.</p>");
	this.document.write('<hr width="90%" size="3">');
	this.document.write("<p>Эта страница использует фреймы.<br>Включите поддержку фреймов в броузере для ее просмотра.</p>");	
	this.document.write('</h3></div>');
    this.document.write('</body>');
    this.document.write('</noframes>');
}
	
function chPag(tar_l,tar_r,tar_fr) {	
	if (self.parent.frames.length == 0) chFram(tar_l,tar_r)
	else if (self.parent.frames[0].name != "leftgal") top.parent.location=tar_fr;
}

function chFra(tar_l,tar_r) {	
	if (self.parent.frames.length == 0) chFram(tar_l,tar_r)
	else { 
	       self.parent.frames[0].location = tar_l;
           self.parent.frames[1].location = tar_r;
	        }
	     }

function switch_class(cls,col,fon,tex) { 
 // var vAgent = navigator.userAgent.toLowerCase(); 
 //if( (vAgent.indexOf('msie')    != -1)) {    
   document.all[cls].style.color=col; 
   //document.all[cls].style.fontsize=fon;
   document.all[cls].style.textdecoration=tex; 
  // } 
 return;
}

function open_img(name, wd, hg) {
window.open(name,"","toolbar=no,scrollbars=1,resizable=1,width="+wd+",height="+hg);
}


//-->
