

$(document).ready(function ()	{
	doc_width=$(document).width();
	doc_height=$(document).height();
	$("#logo").animate({
		opacity: 1
	},4000)

	$("#logo").show();
	//$("#moon").animate({
		//top: "-50px",
		//opacity: 1
	//},4000);
	$("#guitar").animate({
		opacity: 1
	},4000);
	
	$('#copy').css("height", doc_height - 160);

});


var myWidth = 0, myHeight = 0;
function getWindowSize() {

  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else {
    if( document.documentElement &&
        ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
    } else {
      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
      }
    }
  }
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

function showPopup()	{	
	myCD=DynAPI.document.all["dreamerPopup"]
	myCD.moveTo((DynAPI.document.w/2)-250,(DynAPI.document.h/2)-250);
	myCD.setVisible(true);
}

function hidePopup()	{	
	myCD=DynAPI.document.all["dreamerPopup"]
	myCD.setVisible(false);
}


