var LEFTMARGIN; 

jQuery.noConflict();

//alert(GLOBALID);

jQuery(document).ready(function (){LEFTMARGIN = 0;});	

function GetPrev(movePrev){

if (LEFTMARGIN == 0) return;
	
LEFTMARGIN += 750;
	jQuery("#portHolder_content").animate({marginLeft:LEFTMARGIN+"px"},500);
	
}

function GetNext(){

var UPPERBOUND = jQuery('#portHolder .portHolderP').length; 
//alert(UPPERBOUND);
jQuery("#portHolder_content").css("width",UPPERBOUND*150+"px");

var UPPERBOUNDWITHSIZE = -UPPERBOUND*150;

//alert(UPPERBOUNDWITHSIZE);

if (LEFTMARGIN-750 <= UPPERBOUNDWITHSIZE) return;

//-1550

//alert(UPPERBOUND);
//alert((UPPERBOUND-1)*-3);
//alert(LEFTMARGIN);

	LEFTMARGIN -= 750;
	jQuery("#portHolder_content").animate({marginLeft:LEFTMARGIN+"px"},500);						
}



jQuery(document).ready(function() {
		
	jQuery('.reflect').reflect({height: 0.1, opacity: 0.6});

})


function getfile(filename) {
	//$("#lcol").hide();
	
    jQuery("#newscontent").ready(function (){
		
		jQuery.get(filename, function(data){
        jQuery("#newscontent").html(data);
		jQuery("#newscontent").fadeIn(200);
		});

	});
	
}


               

