$(document).ready(function(){
  $('#scycle1') 
  .before('<ul class="vvc">')
  .cycle({ 
    speed:  'fast', 
    timeout: 5000, 
    pager:  '.vvc' 
  })
  
$("#choosePH").hover(function () {
    $(".texttip1").show();
    $("#choosePH a.bg").css({'background-position':'0 -465px'});
  }, 
  function () {
    $(".texttip1").hide();
    $("#choosePH a.bg").css({'background-position':'0 0'});
  });
  $(".texttip1").hover(function () {
    $("#choosePH a.bg").css({'background-position':'0 -465px'});
  });

  $("#chooseCB").hover(function () {
    $(".texttip2").show();
    $("#chooseCB a.bg").css({'background-position':'-327px -465px'});
  }, 
  function () {
    $(".texttip2").hide();
    $("#chooseCB a.bg").css({'background-position':'-327px 0'});
  });
  $(".texttip2").hover(function () {
    $("#chooseCB a.bg").css({'background-position':'-327px -465px'});
  });  
  
  $("#chooseOCG").hover(function () {
    $(".texttip3").show();
    $("#chooseOCG a.bg").css({'background-position':'-653px -465px'});
  }, 
  function () {
    $(".texttip3").hide();
    $("#chooseOCG a.bg").css({'background-position':'-653px 0'});
  });
  $(".texttip3").hover(function () {
    $("#chooseOCG a.bg").css({'background-position':'-653px -465px'});
  });   
  
  /* Using custom settings */
	
	$("#formphone").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

  
});

	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-ph/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-ph/slideshowpro.swf", "flashcontent", "600", "350", "9.0.0", false, flashvars, params, attributes);  

	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-cb/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-cb/slideshowpro.swf", "flashcontent-cb", "600", "350", "9.0.0", false, flashvars, params, attributes);  
	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-leather/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-leather/slideshowpro.swf", "slideshow-leather", "591", "200", "9.0.0", false, flashvars, params, attributes);  
	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-paper/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-paper/slideshowpro.swf", "slideshow-paper", "591", "200", "9.0.0", false, flashvars, params, attributes);  
	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-pricing/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-pricing/slideshowpro.swf", "slideshow-pricing", "591", "591", "9.0.0", false, flashvars, params, attributes);  
	// SWFObject embed
	var flashvars = {
		paramXMLPath: "{{$site.contextPath}}slideshow-special/param.xml",
		initialURL: escape(document.location)
	}
	var params = { 
		base: ".",
		bgcolor: "#FFFFFF",
		allowfullscreen: "true"
	}                
	var attributes = {}
	swfobject.embedSWF("{{$site.contextPath}}slideshow-special/slideshowpro.swf", "slideshow-special", "591", "591", "9.0.0", false, flashvars, params, attributes);  
