var w1;
var w2;
var w3;
var f1="width=450, height=500, location=no, directories=no, scrollby=yes, scrollbars=yes, status=no, menubar=no, resizable=yes, toolbar=no, top=20, left=300";
var f2="width=620,height=600, location=no, directories=no, scrollby=yes, scrollbars=yes, status=no, menubar=no, resizable=yes, toolbar=no, top=20, left=150";
var f3="width=750, location=no, directories=no, scrollby=yes, scrollbars=yes, status=no, menubar=no, resizable=yes, toolbar=no, top=20, left=10";

function init_menu() {

		conta = new DynLayer("conta");
}

function init2() {

		conta = new DynLayer("conta");

	div1 = new DynLayer('div1');
	div1.moveTo(X0,Y0);
	mask = new DynLayer('mask');
	if (is.ie55)
// Для ie55 нужно явно задавать фоновое изображение
		mask.setBgImage('Home/Help/fon-smol.gif');
	mask.moveTo(X0,Y0);
	mask.clipTo(0, 0, 0, 0);
	mask.show();
	div1.show();
        curtainType(1);

}

var conta;
	function ctext(color){
		     if (color.toLowerCase()=='hom')
			conta.write('<SPAN CLASS="redtext">Home:</SPAN><SPAN CLASS="blacktext"><br>Go back<br> to Home page</SPAN>')
		else if (color.toLowerCase()=='fed') 
			conta.write('<SPAN CLASS="redtext">Fedoskino Boxes:</SPAN><SPAN CLASS="blacktext"><br>Our collection<br>of lacquer boxes<br>available for sale.</SPAN>')
		else if (color.toLowerCase()=='bat') 
			conta.write('<SPAN CLASS="redtext">Russian Batic:</SPAN><SPAN CLASS="blacktext"><br>Hand painted<br>batik collection <br>on silk.</SPAN>')
		else if (color.toLowerCase()=='wat')
			conta.write('<SPAN CLASS="redtext">Palekh Boxes:</SPAN><SPAN CLASS="blacktext"><br>Our collection<br>of lacquer boxes<br>available for sale.</SPAN>')
		else if (color.toLowerCase()=='wat')
			conta.write('<SPAN CLASS="redtext">Watercolors:</SPAN><SPAN CLASS="blacktext"><br>The floral<br>compositions by<br>Valentina Smolenskaya.</SPAN>')
		else if (color.toLowerCase()=='pic')
			conta.write('<SPAN CLASS="redtext">Oil Paintings:</SPAN><SPAN CLASS="blacktext"><br>Oil paintings<br>for your viewing.</SPAN>')
		else if (color.toLowerCase()=='pro')
			conta.write('<SPAN CLASS="redtext">Additional Art:</SPAN><SPAN CLASS="blacktext"><br>Watercolors and <br>Gallery of Special Orders.</SPAN>')
		else if (color.toLowerCase()=='ima')
			conta.write('<SPAN CLASS="redtext">Archive of Images:</SPAN><SPAN CLASS="blacktext"><br>Enjoy more than<br>350(!) images of Fedoskino<br> lacquer boxes.</SPAN>')
		else if (color.toLowerCase()=='bio')
			conta.write('<SPAN CLASS="redtext">Artists Biographies:</SPAN><SPAN CLASS="blacktext"><br>You can read here<br>short biographies of<br>Fedoskino artists.</SPAN>')
		else if (color.toLowerCase()=='his')
			conta.write('<SPAN CLASS="redtext">History:</SPAN><SPAN CLASS="blacktext"><br>Click here to<br>read the history<br>of Fedoskino art.</SPAN>')
		else if (color.toLowerCase()=='gue')
			conta.write('<SPAN CLASS="redtext">Guest Book:</SPAN><SPAN CLASS="blacktext"><br>Read the Guest<br>Book and leave the<br>message.</SPAN>')
                else if (color.toLowerCase()=='con') 
			conta.write('<SPAN CLASS="redtext">Contacts:</SPAN><SPAN CLASS="blacktext"><br>Contact to <br>us and<br> artists.</SPAN>')
		else if (color.toLowerCase()=='nat')
			conta.write('<SPAN CLASS="redtext">Nature:</SPAN><SPAN CLASS="blacktext"><br>Gallery of images<br>with animals and<br>floral compositions.</SPAN>')
		else if (color.toLowerCase()=='por')
			conta.write('<SPAN CLASS="redtext">Portraits:</SPAN><SPAN CLASS="blacktext"><br>Gallery of<br>images with portraits<br>by Fedoskino artists.</SPAN>')
		else if (color.toLowerCase()=='tal')
			conta.write('<SPAN CLASS="redtext">Fairy-tales:</SPAN><SPAN CLASS="blacktext"><br>Scenes from<br>fairy-tales by Russian<br>and other writers.</SPAN>')
		else if (color.toLowerCase()=='arch')
			conta.write('<SPAN CLASS="redtext">Architecture:</SPAN><SPAN CLASS="blacktext"><br>Images of<br>Russian churches<br>and buildings.</SPAN>')
		else if (color.toLowerCase()=='rom')
			conta.write('<SPAN CLASS="redtext">Romantic scenes:</SPAN><SPAN CLASS="blacktext"><br>The images of most<br>Romantic couples<br>and love meetings.</SPAN>')
		else if (color.toLowerCase()=='for')
			conta.write('<SPAN CLASS="redtext">Unusual forms:</SPAN><SPAN CLASS="blacktext"><br>Gallery of<br>images of boxes<br>on unusual forms.</SPAN>')
		else if (color.toLowerCase()=='lif')
			conta.write('<SPAN CLASS="redtext">Life scenes:</SPAN><SPAN CLASS="blacktext"><br>Images with scenes<br>from our life<br>by artists eyes.</SPAN>')
		else if (color.toLowerCase()=='lan')
			conta.write('<SPAN CLASS="redtext">Landscapes:</SPAN><SPAN CLASS="blacktext"><br>Russian, Holand<br>and other landscapes<br>by Fedoskino artists.</SPAN>')
		else if (color.toLowerCase()=='rel')
			conta.write('<SPAN CLASS="redtext">Religious:</SPAN><SPAN CLASS="blacktext"><br>Images of<br>boxes with <br>religious scenes.</SPAN>')
		else if (color.toLowerCase()=='art')
			conta.write('<SPAN CLASS="redtext">New Art:</SPAN><SPAN CLASS="blacktext"><br>Creative works by such<br>tallented artists, like <br>Anokhin, Makarov and others.</SPAN>')
//		else if (color.toLowerCase()=='sub')
//			conta.write('<SPAN CLASS="redtext">Subscribe:</SPAN><SPAN //CLASS="blacktext"><br>You will recieve<br>our latest news <br>and updates.</SPAN>')
                                     else if (color.toLowerCase()=='boo') 
			conta.write('<SPAN CLASS="redtext">Books:</SPAN><SPAN CLASS="blacktext"><br>The books and<br>catalogues about<br>Fedoskino miniatures..</SPAN>')
		else if (color.toLowerCase()=='abo')
			conta.write('<SPAN CLASS="redtext">About Us:</SPAN><SPAN CLASS="blacktext"><br>Want to know<br>Who we are?</SPAN>')
		else if (color.toLowerCase()=='tra')
			conta.write('<SPAN CLASS="redtext-m">Travel to Fedoskino:</SPAN><SPAN CLASS="blacktext"><br>We can arrange a trip<br>to Fedoskino when<br>you are in Moscow.</SPAN>')
		else if (color.toLowerCase()=='mai')
			conta.write('<SPAN CLASS="redtext">E-mail:</SPAN><SPAN CLASS="blacktext"><br>E-mail us with<br>any questions<br>or comments.</SPAN>')
                else	conta.write('<SPAN CLASS="blacktext"><BR>&nbsp<BR></SPAN>')
}
