// JavaScript Document


    $(document).ready(function() {
        $('.slideshow').cycle({
            fx: 'fade',
            pause: 2,
            prev: '#sprev',
            next: '#snext'

        });


    });


    $(document).ready(function() {
        $('.slideshow').css("height", "0px");
        //	alert($('.slideshow').css('zIndex'));
        $('.slideshow').css('zIndex', 1);
        $('.itemsBk').css('padding-right', "31px");

    });




function getsx(a)
{
	if(a==1)
	document.getElementById("getimg").src="/Portals/0/getstarted.png";
	else
	document.getElementById("getimg").src="/Portals/0/getstarted1.png";
}


$(document).ready(function() {
/* BLOCK2 */
$('#block2').hide();
var n=true;
$('#rm2').click(function() {
  if(n)
  {
  $('#block2').slideDown('slow', function() {
  n=false;
  document.getElementById("rm2").innerHTML="hide";
  }); 
  
  }
  else
  {
    $('#block2').slideUp('slow', function() {
	n=true;
	document.getElementById("rm2").innerHTML="read more";});
	
  }
  
});
    
	/* BLOCK3 */
$('#block3').hide();
var n=true;
$('#rm3').click(function() {
  if(n)
  {
  $('#block3').slideDown('slow', function() {
  n=false;
  document.getElementById("rm3").innerHTML="hide";
  }); 
  
  }
  else
  {
    $('#block3').slideUp('slow', function() {
	n=true;
	document.getElementById("rm3").innerHTML="read more";});
	
  }
  
});


/* BLOCK3 */
$('#block3').hide();
var n=true;
$('#rm3').click(function() {
  if(n)
  {
  $('#block3').slideDown('slow', function() {
  n=false;
  document.getElementById("rm3").innerHTML="hide";
  }); 
  
  }
  else
  {
    $('#block3').slideUp('slow', function() {
	n=true;
	document.getElementById("rm3").innerHTML="read more";});
	
  }
  
});


/* BLOCK4 */
$('#block4').hide();
var n=true;
$('#rm4').click(function() {
  if(n)
  {
  $('#block4').slideDown('slow', function() {
  n=false;
  document.getElementById("rm4").innerHTML="hide";
  }); 
  
  }
  else
  {
    $('#block4').slideUp('slow', function() {
	n=true;
	document.getElementById("rm4").innerHTML="read more";});
	
  }
  
});

/* BLOCK6 */
$('#block6').hide();
var n=true;
$('#rm6').click(function() {
  if(n)
  {
  $('#block6').slideDown('slow', function() {
  n=false;
  document.getElementById("rm6").innerHTML="hide";
  }); 
  
  }
  else
  {
    $('#block6').slideUp('slow', function() {
	n=true;
	document.getElementById("rm6").innerHTML="read more";});
	
  }
  
});
	});




function displayWizard()
{
	document.getElementById("bnr").innerHTML="<iframe src='http://www.idealimage.com/slideshow/wizard/wizard.html' width='940px' height='422px' frameborder='0' marginheight='0' marginwidth='0' scrolling='auto' vspace='0' hspace='0' name='cv' id='cv'>";
	document.getElementById("sshow").innerHTML="";
	document.getElementById("sprev").innerHTML="";
	document.getElementById("snext").innerHTML="";
	
}



