
<!--

function addf()
{
if(navigator.appName=="Microsoft Internet Explorer")
{
window.parent.external.AddFavorite(window.top.location.href,window.top.document.title);
}
else
{
alert("| Press key CTRL + D , add this page in bookmarks |");
}
}
function picer(nomer){
if(document.sizer.sizer2.value=="none")
{
vlad = new Image();
vlad.src = "pic2/"+nomer+"a.jpg";
document.images["picx"].src = vlad.src;
window.status="Picture number "+nomer+" is loaded";
}
if(document.sizer.sizer2.value=="big")
{

ssw=screen.width-710;
setting='status=yes,width=720,height=700,top=0,left='+ssw+',toolbar=no,resizable=yes,menubar=yes,scrollbars=yes';
newer = window.open('','',setting);
newer.document.write("<html><head><title>::</title><link rel='stylesheet' href='../script/explorer.css'></head><body bgcolor='black' background='../script/images/bg_big.gif' rightmargin='5' leftmargin='5' topmargin='5' bgproperties='fixed' style='background-attachment:fixed;'><script language='javascript' src='../script/zoom.js'></script><table border='0' align='center' width='395' height='395' ><tr><td width='395'></td></tr><tr><td width='395' height='27' align='left'><map name='FPMap0'><area href='javascript:minzoom()' shape='rect' alt='Minimum' coords='4, 2, 39, 23'><area href='javascript:pluszoom()' shape='rect' alt='Maximum' coords='97, 0, 139, 24'><area href='javascript:stanzoom()' shape='rect' alt='Standart' coords='41, 3, 93, 23'></map><img border='0' style='border:0px silver inset' src='../script/images/zoom.gif' usemap='#FPMap0' width='140' height='25' align='left'><br></td></tr><tr><td align='center'><img src='pic2/"+nomer+"l.jpg' align='center' name='lenta' vspace='5' hspace='5' class='imgclass' border='1' style='border:2px #E58900 groove;'><br></td></tr></table></body></html>");
newer.document.title=document.title+" | #"+nomer;
newer.focus();
//window.status="";
}
if(document.sizer.sizer2.value=="smallbig")
{
vlad = new Image();
vlad.src = "pic2/"+nomer+"a.jpg";
document.images["picx"].src = vlad.src;

ssw=screen.width-710;
setting='status=yes,width=720,height=700,top=0,left='+ssw+',toolbar=no,resizable=yes,menubar=yes,scrollbars=yes';
newer = window.open('','',setting);
newer.document.write("<html><head><title>::</title><link rel='stylesheet' href='../script/explorer.css'></head><body bgcolor='black' background='../script/images/bg_big.gif' rightmargin='5' leftmargin='5' topmargin='5' bgproperties='fixed' style='background-attachment:fixed;'><script language='javascript' src='../script/zoom.js'></script><table border='0' align='center' width='395' height='395' ><tr><td width='395'></td></tr><tr><td width='395' height='27' align='left'><map name='FPMap0'><area href='javascript:minzoom()' shape='rect' alt='Minimum' coords='4, 2, 39, 23'><area href='javascript:pluszoom()' shape='rect' alt='Maximum' coords='97, 0, 139, 24'><area href='javascript:stanzoom()' shape='rect' alt='Standart' coords='41, 3, 93, 23'></map><img border='0' style='border:0px silver inset' src='../script/images/zoom.gif' usemap='#FPMap0' width='140' height='25' align='left'><br></td></tr><tr><td align='center'><img src='pic2/"+nomer+"l.jpg' align='center' name='lenta' vspace='5' hspace='5' class='imgclass' border='1' style='border:2px #E58900 groove;'><br></td></tr></table></body></html>");
newer.document.title=document.title+" | #"+nomer;
newer.focus();
//window.status="";
}
else
{
window.status="";
}


}
function borderA(cvet){
cvet.style.borderStyle="dotted";
cvet.style.borderColor="red";
}
function borderZ(cvet){
cvet.style.borderStyle="solid";
cvet.style.borderColor="gold";
}

// 2222222222222

//onMouseover Scrollbar Vladislav Gurabanidze
//Submitted


/*---------------[IE 5.5 Scrollbars colorer]--------------------*/
function scrollBar(line,face,theme)
	{
		if (!line||!face)
			{
				line=null;
				face=null;
				switch(theme) // Predefined themes
					{
						case "blue":
							var line="#78AAFF";
							var face="#EBF5FF";
							break;
					
						case "green":
							var line="black";
							var face="#2E3E1F";
							var theme="#E58900";
							break;
					
					}
			}

				with(document.body.style)
					{
						scrollbarDarkShadowColor=line;
						scrollbar3dLightColor=line;
						scrollbarArrowColor=theme;
						scrollbarBaseColor=face;
						scrollbarFaceColor=face;
						scrollbarHighlightColor=face;
						scrollbarShadowColor=face;
						scrollbarTrackColor="#000000";
					}
			}

/*------------------[Pointer coordinates catcher]---------------*/
function colorBar(){
		var w = document.body.clientWidth;
		var h = document.body.clientHeight;
		var x = event.clientX;
		var y = event.clientY;
		if(x>w) scrollBar('black','#E58900','#FFFFFF'); // Your colors
		else scrollBar(null,null,"green"); // A predefined theme
	}

if (document.all){
scrollBar(null,null,"green");
document.onmousemove=colorBar;
}

// 33333333333333

 isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}
if(isie) {
var html="";
html+='<TABLE STYLE="border:1pt solid #808080" BGCOLOR="#CCCCCC" WIDTH="140" HEIGHT="220" CELLPADDING="0" CELLSPACING="1">';
html+='<ST'+'YLE TYPE="text/css">\n';
html+='a:link {text-decoration:none;font-family:Arial;font-size:8pt;}\n';
html+='a:visited {text-decoration:none;font-family:Arial;font-size:8pt;}\n';
html+='td {font-size:8pt;}\n';
html+='</ST'+'YLE>\n';
html+='<SC'+'RIPT LANGUAGE="JavaScript">\n';
html+='\n<'+'!--\n';
html+='window.onerror=null;\n';
html+='/'+' -'+'->\n';
html+='</'+'SCRIPT>\n';
html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i0" ONMOUSEOVER="document.all.i0.style.background=\'#CFD6E8\';document.all.i0.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i0.style.background=\'#CCCCCC\';document.all.i0.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.history.go(-1);">&nbsp;<IMG SRC="../menus/menuback.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Back</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i1" ONMOUSEOVER="document.all.i1.style.background=\'#CFD6E8\';document.all.i1.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i1.style.background=\'#CCCCCC\';document.all.i1.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.history.go(1);">&nbsp;<IMG SRC="../menus/menuforward.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Forward</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i4" ONMOUSEOVER="document.all.i4.style.background=\'#CFD6E8\';document.all.i4.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i4.style.background=\'#CCCCCC\';document.all.i4.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.external.AddFavorite(window.top.location.href,window.top.document.title);">&nbsp;<IMG SRC="../menus/menufavorite.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Add to Favorites...</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i5" ONMOUSEOVER="document.all.i5.style.background=\'#CFD6E8\';document.all.i5.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i5.style.background=\'#CCCCCC\';document.all.i5.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.location=\'view-source:\'+window.parent.location.href;" >&nbsp;<IMG SRC="../menus/menusource.gif" WIDTH="12" HEIGHT="12" " BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle" >&nbsp;View Source</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i6" ONMOUSEOVER="document.all.i6.style.background=\'#CFD6E8\';document.all.i6.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i6.style.background=\'#CCCCCC\';document.all.i6.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.print();">&nbsp;<IMG SRC="../menus/menuprint.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Print</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i7" ONMOUSEOVER="document.all.i7.style.background=\'#CFD6E8\';document.all.i7.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i7.style.background=\'#CCCCCC\';document.all.i7.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.location.href=window.parent.location.href;">&nbsp;<IMG SRC="../menus/menurefresh.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Refresh</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i8" ONMOUSEOVER="document.all.i8.style.background=\'#CFD6E8\';document.all.i8.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i8.style.background=\'#CCCCCC\';document.all.i8.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.1; else window.parent.document.body.style.zoom=1.1;">&nbsp;<IMG SRC="../menus/menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Zoom In</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i9" ONMOUSEOVER="document.all.i9.style.background=\'#CFD6E8\';document.all.i9.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i9.style.background=\'#CCCCCC\';document.all.i9.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.900; else window.parent.document.body.style.zoom=0.900;">&nbsp;<IMG SRC="../menus/menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Zoom Out</TD></TR>';

html+='</TABLE>';

var oPopup = window.createPopup();

}

function dopopup(x,y) {
if(isie) {
var oPopupBody = oPopup.document.body;
oPopupBody.innerHTML = html;
oPopup.show(x, y, 140, 220, document.body);
}
}

function click(e) {
if(isie) {
if(document.all) {
if(event.button==2||event.button==3) {
dopopup(event.x-1,event.y-1);
}
}
}
}

if(isie) {
document.oncontextmenu = function() { dopopup(event.x,event.y);return false; }
document.onmousedown = click;
}

 function painters(form){

 myindex = form.painter_name.selectedIndex
 mypage = form.painter_name.options[myindex].value
 if(mypage=="none")
 {
 window.status="Select an artist";
 }
 else
 {
 loc = "../"+mypage+"/index.php"
 window.location=loc
 }
 }
 
 
 
  function vladislav(form){

 myindex = form.painter_select.selectedIndex
 mypage = form.painter_select.options[myindex].value

 if(mypage=="none")
 {
 window.status="Select a category";
 }
 else
 {
 loc = "../"+mypage+"/index.php"
 window.location=loc
 }
 }

 // price and resume 

function price(urlp){
var tt = document.title;
ssw = 0;
setting='status=no,width=400,height=500,top=0,left='+ssw+',scrollbars=yes,toolbar=no,resizable=no,menubar=yes';
newerl = window.open('','vlad',setting);
newerl.focus();
newerl.location.href = "../php/"+urlp;
//newerl.document.title = tt + " - [ Price ]"
}

function resume(url){
var tt = document.title;
ssw = 0;
setting='status=no,width=400,height=500,top=0,left='+ssw+',scrollbars=yes,toolbar=no,resizable=no,menubar=yes';
newerl = window.open('','vlad',setting);
newerl.focus();
newerl.location.href = "../php/"+url;
//newerl.document.title = tt + " - [ Resume ]"
}

// --> 

