var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i){if (isNaN(parseInt(words[i]))) continue; var MM_PluginVersion = words[i];} var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n on error resume next \n MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n </SCR' + 'IPT\> \n');}
function pick(p,n,f,w,h){
if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"  width="'+w+'" height="'+h+'"> <param name="movie" value="flash/'+n+'.swf" /><param name=wmode value=transparent><param name="quality" value="high" /> <embed wmode="transparent" src="flash/'+n+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed> </object>');} 
else{
if (n=="logo") {document.write('<a href="index.php"><img src="'+p+'/'+n+'.'+f+'" width="'+w+'" height="'+h+'" border="0" /></a>')}
if (n=="menu_small2") {document.write('<div style="background:transparent url(images/menu_small.gif) no-repeat; width:350px; height=23px;"><a class="n" href="contacts.php"><img src="images/ms_cont.gif" width="51" height="23" border="0" /></a><a class="n" href="javascript:favorite(window.external.addFavorite(\'http://www.podsolncem.ru\', \'Студия загара и салон красоты «Место под Солнцем»\'))"><img src="images/ms_love.gif" width="40" height="23" border="0" /></a><a class="n" href="gallery.php"><img src="images/ms_3d.gif" width="43" height="23" border="0" /></a></div>')}
else{document.write('<img src="'+p+'/'+n+'.'+f+'" width="'+w+'" height="'+h+'" border="0" />')}}}

function pick_sm(n,c,l,w){
document.write('<style type="text/css"><!--');
document.write('a.mini'+c+':link, a.mini'+c+':visited {position:absolute;height:118px;top:0px;background:transparent url(pics/mini_'+n+'.jpg) no-repeat;}');
document.write('a.mini'+c+':hover{position:absolute;height:118px;top:0px;background:transparent url(pics/mini_'+n+'_c.jpg) no-repeat;}');
document.write('--></style>');
document.write('<a href="'+n+'.php" src="pics/mini_'+n+'.jpg" border="0" class="mini'+c+'" style="left:'+l+'px;width:'+w+'px;"></a>');}
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i){if (isNaN(parseInt(words[i]))) continue; var MM_PluginVersion = words[i];} var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n on error resume next \n MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n </SCR' + 'IPT\> \n');}
function pick_menu(n){
if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"  width="618" height="118"> <param name="movie" value="flash/'+n+'.swf" /><param name=wmode value=transparent><param name="quality" value="high" /> <embed wmode="transparent" src="flash/'+n+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="618" height="118"></embed> </object>');} 
else{ 
if (n=="solar_menu") {pick_sm("solar_mixt",1,0,176);pick_sm("solar_master_sun",2,176,176);pick_sm("solar_vegalux",4,352,88);pick_sm("solar_maxi_multysun",5,440,176)}
if (n=="solar_uez_menu") {pick_sm("solar_uez_sun",1,0,176);pick_sm("solar_uez_tan",2,176,88);pick_sm("solar_uez_jetset",3,264,88);pick_sm("solar_uez_supreme",4,352,88);pick_sm("solar_decor",5,440,178)}
if (n=="solar_avtozagar_menu") {pick_sm("solar_avtozagar_krem",1,0,176);pick_sm("solar_avtozagar_muss",2,176,88);pick_sm("solar_avtozagar_milk",3,264,88);pick_sm("solar_avtozagar_lotion",4,352,88);pick_sm("solar_avtozagar_gel",5,440,178)}
}}

function ShowPage(p,w,h){window.open(p,"PERGAM","width="+w+",height="+h+",scrollbars=no");}
