function switchContentOf2Divs()
	{
        div2 = document.getElementById("header");
        div1 = document.getElementById("content");

        //var div2c = div2.innerHTML;
        div2.innerHTML = div1.innerHTML;
        div2.hide();
        div2.setStyle({
               position: 'absolute',
               left: '10px',
               top: '109px',
               width: '980px',
               height: '326px'
           });
        div2.show();

        //div1.innerHTML = div2c;
        return false;
	}

function sendRequest(module) {
				new Ajax.Request("packages/Engine.php?name=" + module,
					{
					onComplete: showResponse
					});
}

function showResponse(req){
    $('content').innerHTML= req.responseText;
}

function slideMe(box,c){

    if(c == 1){
        $('bottomProjects').hide();
        $('divider').hide();
    }
    else{
        $('bottomProjects').show();
        $('divider').show();
    }

    if(box != $('stage').value){
        sendRequest(box);
        new Effect.Move('header', { x: 0, y: -500});
        //new Effect.Fade('header');
        if($('stage').value != '')
            switchContentOf2Divs();
        $('stage').value = box;
    }
    return false;
}

function moveMeUp(){
    //$('scrollfull_content').
    new Effect.Move('scrollfull_content', { x: 0, y: -100});
}

function moveMeDown(){
    new Effect.Move('scrollfull_content', { x: 0, y: 100});
}