// Actor

function closeMyPopup() {
			//alert("1")
		      
		      
                      document.getElementById("mypopup").style.display = "none";
                    }
                    
                    function myPopupRelocate() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup").style.top = topOffset + "px";
                      document.getElementById("mypopup").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup() {
                    	if (navigator.appName.indexOf ("Microsoft") !=-1) {
			      document.getElementById("player2").SetVariable("a", "-1");
			      document.getElementById("player3").SetVariable("a", "-1");
			      document.getElementById("player4").SetVariable("a", "-1");
			      document.getElementById("player5").SetVariable("a", "-1");
			      document.getElementById("player6").SetVariable("a", "-1");
			      document.getElementById("player7").SetVariable("a", "-1");
			}
		      
                      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      
		      myPopupRelocate();
		      
                      document.getElementById("mypopup").style.display = "block";
                      document.body.onscroll = myPopupRelocate;
                      window.onscroll = myPopupRelocate;
                      
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "1");
		      }
                    }


// Business

		   function closeMyPopup2() {
                      document.getElementById("mypopup2").style.display = "none";
                    }
                    
                    function myPopupRelocate2() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup2").style.top = topOffset + "px";
                      document.getElementById("mypopup2").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup2() {
                    if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player3").SetVariable("a", "-1");
		      document.getElementById("player4").SetVariable("a", "-1");
		      document.getElementById("player5").SetVariable("a", "-1");
		      document.getElementById("player6").SetVariable("a", "-1");
		      document.getElementById("player7").SetVariable("a", "-1");      	
                    }
                    
                      document.getElementById("mypopup").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      myPopupRelocate2();
                      document.getElementById("mypopup2").style.display = "block";
                      document.body.onscroll = myPopupRelocate2;
                      window.onscroll = myPopupRelocate2;
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player2").SetVariable("a", "1");
		      }
                    }

// Scrolling

function closeMyPopup3() {
                      document.getElementById("mypopup3").style.display = "none";
                    }
                    
                    function myPopupRelocate3() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup3").style.top = topOffset + "px";
                      document.getElementById("mypopup3").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup3() {
                    if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player2").SetVariable("a", "-1");
		      document.getElementById("player4").SetVariable("a", "-1");
		      document.getElementById("player5").SetVariable("a", "-1");
		      document.getElementById("player6").SetVariable("a", "-1");
		      document.getElementById("player7").SetVariable("a", "-1");   
		      }
                    
                      document.getElementById("mypopup").style.display = "none";
		      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      myPopupRelocate3();
                      document.getElementById("mypopup3").style.display = "block";
                      document.body.onscroll = myPopupRelocate3;
                      window.onscroll = myPopupRelocate3;
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player3").SetVariable("a", "1");
		      }
                    }
					
// 3D

function closeMyPopup4() {
                      document.getElementById("mypopup4").style.display = "none";
                    }
                    
                    function myPopupRelocate4() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup4").style.top = topOffset + "px";
                      document.getElementById("mypopup4").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup4() {
                    if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player2").SetVariable("a", "-1");
		      document.getElementById("player3").SetVariable("a", "-1");
		      document.getElementById("player5").SetVariable("a", "-1");
		      document.getElementById("player6").SetVariable("a", "-1");
		      document.getElementById("player7").SetVariable("a", "-1"); 
                    
                    }
                      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      
		      myPopupRelocate4();
                      document.getElementById("mypopup4").style.display = "block";
                      document.body.onscroll = myPopupRelocate4;
                      window.onscroll = myPopupRelocate4;
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player4").SetVariable("a", "1");
		      }
                    }

// Infomertial

function closeMyPopup5() {
                      document.getElementById("mypopup5").style.display = "none";
                    }
                    
                    function myPopupRelocate5() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup5").style.top = topOffset + "px";
                      document.getElementById("mypopup5").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup5() {
                    	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player2").SetVariable("a", "-1");
		      document.getElementById("player3").SetVariable("a", "-1");
		      document.getElementById("player4").SetVariable("a", "-1");
		      document.getElementById("player6").SetVariable("a", "-1");
		      document.getElementById("player7").SetVariable("a", "-1"); 
		      }

                      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      myPopupRelocate5();
                      document.getElementById("mypopup5").style.display = "block";
                      document.body.onscroll = myPopupRelocate5;
                      window.onscroll = myPopupRelocate5;
                      
			if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player5").SetVariable("a", "1");
		      }
                    }
					
// Training

function closeMyPopup6() {
                      document.getElementById("mypopup6").style.display = "none";
                    }
                    
                    function myPopupRelocate6() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup6").style.top = topOffset + "px";
                      document.getElementById("mypopup6").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup6() {
                    if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player2").SetVariable("a", "-1");
		      document.getElementById("player3").SetVariable("a", "-1");
		      document.getElementById("player4").SetVariable("a", "-1");
		      document.getElementById("player5").SetVariable("a", "-1");
		      document.getElementById("player7").SetVariable("a", "-1"); 
		      }  
		      
                      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup").style.display = "none";
		      document.getElementById("mypopup7").style.display = "none";
		      myPopupRelocate6();
                      document.getElementById("mypopup6").style.display = "block";
                      document.body.onscroll = myPopupRelocate6;
                      window.onscroll = myPopupRelocate6;
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player6").SetVariable("a", "1");
		      }
                    }

// Infomertial

function closeMyPopup7() {
                      document.getElementById("mypopup7").style.display = "none";
                    }
                    
                    function myPopupRelocate7() {
                      var scrolledX, scrolledY;
                      if( self.pageYOffset ) {
                        scrolledX = self.pageXOffset;
                        scrolledY = self.pageYOffset;
                      } else if( document.documentElement && document.documentElement.scrollTop ) {
                        scrolledX = document.documentElement.scrollLeft;
                        scrolledY = document.documentElement.scrollTop;
                      } else if( document.body ) {
                        scrolledX = document.body.scrollLeft;
                        scrolledY = document.body.scrollTop;
                      }
                    
                      var centerX, centerY;
                      if( self.innerHeight ) {
                        centerX = self.innerWidth;
                        centerY = self.innerHeight;
                      } else if( document.documentElement && document.documentElement.clientHeight ) {
                        centerX = document.documentElement.clientWidth;
                        centerY = document.documentElement.clientHeight;
                      } else if( document.body ) {
                        centerX = document.body.clientWidth;
                        centerY = document.body.clientHeight;
                      }
                    
                      var leftOffset = scrolledX + (centerX - 900) / 1;
                      var topOffset = scrolledY + (centerY - 370) / 1;
                    
                      document.getElementById("mypopup7").style.top = topOffset + "px";
                      document.getElementById("mypopup7").style.left = leftOffset + "px";
                    }
                    
                    function fireMyPopup7() {
                    if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player").SetVariable("a", "-1");
		      document.getElementById("player2").SetVariable("a", "-1");
		      document.getElementById("player3").SetVariable("a", "-1");
		      document.getElementById("player4").SetVariable("a", "-1");
		      document.getElementById("player5").SetVariable("a", "-1");
		      document.getElementById("player6").SetVariable("a", "-1");
		      }
		      
                      document.getElementById("mypopup2").style.display = "none";
		      document.getElementById("mypopup3").style.display = "none";
		      document.getElementById("mypopup4").style.display = "none";
		      document.getElementById("mypopup5").style.display = "none";
		      document.getElementById("mypopup6").style.display = "none";
		      document.getElementById("mypopup").style.display = "none";
		      myPopupRelocate7();
                      document.getElementById("mypopup7").style.display = "block";
                      document.body.onscroll = myPopupRelocate7;
                      window.onscroll = myPopupRelocate7;
                      if (navigator.appName.indexOf ("Microsoft") !=-1) {
		      document.getElementById("player7").SetVariable("a", "1");
		      }
                    }
