﻿$(document).ready(function() {

    $('div.gallerySide ul li a').click(function() {
    $(this).next('ul.subNav').toggle();
    });
    
    
   $(function() {  
   $(".but").click(function() {  
   });  
 }); 
   $(function() {  
     $(".but").click(function() {  
            check = true;
          $("input#ctl00_ContentPlaceHolder1_tbFirstName").removeClass();
         $("input#ctl00_ContentPlaceHolder1_tbFirstName").addClass("inputLarge");            
         var name = $("input#ctl00_ContentPlaceHolder1_tbFirstName").val();  
           if (name == "") {  
         $("input#ctl00_ContentPlaceHolder1_tbFirstName").addClass("fieldHover");           
         $("input#ctl00_ContentPlaceHolder1_tbFirstName").focus();  
         check = false;
       }  
          $("input#ctl00_ContentPlaceHolder1_tbPhone").removeClass();
         $("input#ctl00_ContentPlaceHolder1_tbPhone").addClass("inputLarge");           
         var phone = $("input#ctl00_ContentPlaceHolder1_tbPhone").val();  
           if (phone == "") {  
         $("input#ctl00_ContentPlaceHolder1_tbPhone").addClass("fieldHover");           
         $("input#ctl00_ContentPlaceHolder1_tbPhone").focus();  
         check = false;
       }  
          $("input#ctl00_ContentPlaceHolder1_tbEmail").removeClass();
         $("input#ctl00_ContentPlaceHolder1_tbEmail").addClass("inputLarge");           
         var mail = $("input#ctl00_ContentPlaceHolder1_tbEmail").val();  
           if (mail == "") {  
         $("input#ctl00_ContentPlaceHolder1_tbEmail").addClass("fieldHover");           
         $("input#ctl00_ContentPlaceHolder1_tbEmail").focus();  
         check = false;
       }    
          $("input#ctl00_ContentPlaceHolder1_tbDate").removeClass();
         $("input#ctl00_ContentPlaceHolder1_tbDate").addClass("inputLarge");           
         var date = $("input#ctl00_ContentPlaceHolder1_tbDate").val();  
           if (date == "") {  
         $("input#ctl00_ContentPlaceHolder1_tbDate").addClass("fieldHover");           
         $("input#ctl00_ContentPlaceHolder1_tbDate").focus();  
         check = false;
       }                   

       return check;                 
         
     });  
   });  
 
	$('div.boxScroll').hover(function(){
		$(this).find('img').animate({top:'408px'},{queue:false,duration:500});
	}, function(){
		$(this).find('img').animate({top:'0px'},{queue:false,duration:500});
	});

    
});

videoDir = 4;
function openVideo(dir)
{
    
    if(videoDir != dir)
    {
        if (dir == 4) {
            document.getElementById('v1').innerHTML = '<iframe width="500" height="343" src="http://www.youtube.com/embed/Rg02HZOeQpo" frameborder="0" allowfullscreen></iframe>'
            document.getElementById('v2').innerHTML = '<h1>צילומי קולקציה 2012 בפטרה ></h1><p>עובד כהן מעצב שמלות כלה, בצילומי קולקצייה 2012 - צילומים של מאחורי הקלעים של צילומי הקמפיין בפטרה ירדן עם הדוגמנית שרי גבעתי</p>'
            document.getElementById('img4').style.backgroundColor = 'white';
        }
        else if (dir == 3) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>יום בחיי כלה ></h1><p>ננסי ברנדס מציג בדרכו המיוחדת יום בחיי כלה אצל עובד כהן.</p><p>לפני הכל, הכלות של עובד מקבלות טיפול אישי מצוות הבנות המקצועי שדואג לפנק, להוריד את הלחץ ולתת להן להכנס בכיף לחוויה של פעם בחיים.</p><p>סטייליסטית אישית מלווה את הכלה, מייעצת ועוזרת לה ליצור את ההופעה המושלמת תוך התאמת כל הפריטים - מההלבשה התחתונה ועד התכשיטים הנילווים.</p>'
            document.getElementById('img3').style.backgroundColor = 'white';
        }
        else if (dir == 2) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Touch of Blue ></h1><p>קולקציית שמלות כלה זו צולמה על ידי צלם האופנה הותיק בן לם,בסטודיו הפרטי שלו.</p><p>על סט הצילומים כיכבה מלכת היופי יעל ניזרין, שמעבר ליופיה הפגינה כשרון טבעי בעמידה על הסט. המקצוענות, הנועם והחביבות של יעל הפכו את 2 ימי הצילום הלחוצים לחוויה כיפית ונעימה לכל הצוות.</p>'
            document.getElementById('img2').style.backgroundColor = 'white';
        }
        else if (dir == 1) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Sexy City Night ></h1><p>הפקת אופנה שצילם איתן טל במתחם בורסת היהלומים ברמת גן,בשעות הלילה המאוחרות.</p><p>על אף השעה המאוחרת,<br />המה המקום קהל מסוקרן שנהנה לצפות בהפקה מקצועית ומיוחדת.</p><p>החלפת השמלות, האיפור והשיער שנעשו בתנאי השטח הקשים על הגשר ליד קפה “אילנ’ס” לא הצליחו לשבור את מעצב השיער יניב קצב ואת ג’ני הדוגמנית המקסימה.</p>'
            document.getElementById('img1').style.backgroundColor = 'white';
        }
        else if (dir == 0) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = ' <h1>הפקת קיץ - פריז 2010 ></h1><p>מאחורי הקלעים של הפקת קולקציית שמלות קיץ 2010 של עובד כהן בפריז</p>'
            document.getElementById('img0').style.backgroundColor = 'white';
        }
        document.getElementById('img' + videoDir).style.backgroundColor = 'Transparent'; 
        videoDir= dir;
    }
    
    
    
}

function openVideoEn(dir)
{

    if(videoDir != dir) {
        
        if (dir == 4) {
            document.getElementById('v1').innerHTML = '<iframe width="500" height="343" src="http://www.youtube.com/embed/Rg02HZOeQpo" frameborder="0" allowfullscreen></iframe>'
            document.getElementById('v2').innerHTML = '<h1>2012 Collection</h1>';
            document.getElementById('img4').style.backgroundColor = 'white';
        }
        else if(dir == 3)
        {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>A day in a brides life ></h1><p>Nanssi Brandes presents in hes own special way a day in a brides life with Oved Cohen.</p><p> At first, Oveds brides get a special personal treatment from the professional staff that pampers them and reduce their stress and let them enjoy this once in a lifetime experience.</p><p>A personal stylist escorts the bride, advise her and helps her creates the perfect performance while matching all the items that go with it, from undergarments to jewelries.</p>'       
            document.getElementById('img3').style.backgroundColor = 'white';        
        }
        else if(dir == 2)
        {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Touch of Blue ></h1><p>This wedding dress collection was taken by the known fashion photographer Ben Lem, in his private studio.</p><p>On the set starred beauty queen Yael Nizrin, that beyond her beauty showed a natural talent of posing on the set. Yaels professionalism, kindness and grace made the two stressful shooting days in to an enjoyable and fun experience for the entire staff.</p>'
            document.getElementById('img2').style.backgroundColor = 'white';  
        }        
        else if(dir == 1)
        {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Sexy City Night ></h1><p>A fashion production photographed by Eitan Tal in the diamonds exchange in Ramat Gan, at late night time.</p><p>Although it was late, a lot of people gathered around to watch this special, professional production.</p><p>The dresses exchanging, make-up and hair thats been done in hard conditioned terms on the bridge near "Ilans" coffee shop, couldnt break hair designer Yaniv Katzar and Jennie the charming model.</p>'                
            document.getElementById('img1').style.backgroundColor = 'white';  
        }
        else if(dir == 0)
        {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Summer Production - Paris 2010 ></h1><p>Behind the scenes</p>'                
            document.getElementById('img0').style.backgroundColor = 'white';  
        }
        document.getElementById('img' + videoDir).style.backgroundColor = 'Transparent'; 
        videoDir= dir;
    }
    
    
    
}


function openVideoIt(dir) {

    if (videoDir != dir) {

        if (dir == 4) {
            document.getElementById('v1').innerHTML = '<iframe width="500" height="343" src="http://www.youtube.com/embed/Rg02HZOeQpo" frameborder="0" allowfullscreen></iframe>'
            document.getElementById('v2').innerHTML = '<h1>2012 Collection</h1>';
            document.getElementById('img4').style.backgroundColor = 'white';
        }
        else if (dir == 3) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Un giorno in una vita da sposa  ></h1><p>Nancy Brandes presenta nel suo modo particolare un giorno da sposa presso Oved Cohen. Prima di tutto le spose di Oved ricevono un trattamento particolare da uno staff di ragazze professionali che provvede a coccolarle, ad allentare la tensione e a far loro godere di un’esperienza unica. Una stilista personale accompagna la sposa, la consiglia e l’aiuta a creare uno spettacolo perfetto abbinando tutti gli accessori – dalla biancheria intima ai gioielli.</p>'
            document.getElementById('img3').style.backgroundColor = 'white';
        }
        else if (dir == 2) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Touch of Blue ></h1><p>This wedding dress collection was taken by the known fashion photographer Ben Lem, in his private studio.</p><p>On the set starred beauty queen Yael Nizrin, that beyond her beauty showed a natural talent of posing on the set. Yaels professionalism, kindness and grace made the two stressful shooting days in to an enjoyable and fun experience for the entire staff.</p>'
            document.getElementById('img2').style.backgroundColor = 'white';
        }
        else if (dir == 1) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Sexy City Night ></h1><p>A fashion production photographed by Eitan Tal in the diamonds exchange in Ramat Gan, at late night time.</p><p>Although it was late, a lot of people gathered around to watch this special, professional production.</p><p>The dresses exchanging, make-up and hair thats been done in hard conditioned terms on the bridge near "Ilans" coffee shop, couldnt break hair designer Yaniv Katzar and Jennie the charming model.</p>'
            document.getElementById('img1').style.backgroundColor = 'white';
        }
        else if (dir == 0) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Servizio fotografico estate – Parigi 2010 ></h1><p>Dietro le quinte del servizio fotografico della collezione di vestiti estate 2010 di Oved Cohen a Parigi. Servizio fotografico a cura di Eitan Tal nella zona della Borsa dei diamanti di Ramat Gan, a tarda notte.</p>'
            document.getElementById('img0').style.backgroundColor = 'white';
        }
        document.getElementById('img' + videoDir).style.backgroundColor = 'Transparent';
        videoDir = dir;
    }



}

function openVideoRu(dir) {
    
    if (videoDir != dir) {
         if (dir == 4) {
            document.getElementById('v1').innerHTML = '<iframe width="500" height="343" src="http://www.youtube.com/embed/Rg02HZOeQpo" frameborder="0" allowfullscreen></iframe>'
            document.getElementById('v2').innerHTML = '<h1>2012 Collection</h1>';
            document.getElementById('img4').style.backgroundColor = 'white';
        }
        else if (dir == 3) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1coMOd9n3zQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Съемки летней коллекции – Париж-2010  ></h1><p>Дом моды Оведа Коэна («Бейт Опера Ив») находится в Холоне, в великолепном комплексе (улица Шенкар 25, Холон), занимающем территорию в 500 квадратных метров, с потрясающим, очень индивидуальным дизайном, сочетающим в себе стиль, комфорт и уединенность для каждой невесты.</p>'
            document.getElementById('img3').style.backgroundColor = 'white';
        }
        else if (dir == 2) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fhOY3kLSQMM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Сексуальная Город Ночные ></h1><p>'
            document.getElementById('img2').style.backgroundColor = 'white';
        }
        else if (dir == 1) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GjtoP-hRXGU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Прикосновение Blue ></h1>'
            document.getElementById('img1').style.backgroundColor = 'white';
        }
        else if (dir == 0) {
            document.getElementById('v1').innerHTML = '<object width="500" height="343"><param name="movie" value="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5PdlusTBi78&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="343"></embed></object>'
            document.getElementById('v2').innerHTML = '<h1>Съемки летней коллекции – Париж-2010 ></h1><p>За кулисами съемок летней коллекции платьев 2010 от Оведа Коэна в Париже</p>'
            document.getElementById('img0').style.backgroundColor = 'white';
        }
        document.getElementById('img' + videoDir).style.backgroundColor = 'Transparent';
        videoDir = dir;
    }



}
