// JavaScript Document

function winit_news() {
	var val = $('#content').height();
	$('#aside-left').height(val);
	$('#newscycle').cycle({ 
    	fx:     'scrollUp'
	});
	// if screen width is smaller than 1024 pixels, use the "small" stylesheet
	if (screen.width < 1024) {
		$('head').append('<link rel="stylesheet" type="text/css" href="css/small.css" />');
	};
};

function winit_news_eng() {
	var val = $('#content').height();
	$('#aside-right').height(val);
	$('#newscycle').cycle({ 
    	fx:     'scrollUp'
	});
	// if screen width is smaller than 1024 pixels, use the "small" stylesheet
	if (screen.width < 1024) {
		$('head').append('<link rel="stylesheet" type="text/css" href="css/small.css" />');
	};
};


function winit_default() {
	var val = $('#content').height();
	$('#aside-left').height(val);
	// if screen width is smaller than 1024 pixels, use the "small" stylesheet
	if (screen.width < 1024) {
		$('head').append('<link rel="stylesheet" type="text/css" href="css/small.css" />');
	};
};

function winit_default_eng() {
	var val = $('#content').height();
	$('#aside-right').height(val);
	// if screen width is smaller than 1024 pixels, use the "small" stylesheet
	if (screen.width < 1024) {
		$('head').append('<link rel="stylesheet" type="text/css" href="css/small.css" />');
	};
};

