var i = 0;

$(document).ready(function() {
	$('#SkadeScrollDown').click(function(){
		$('#SkadeScroll').scrollTop($('#SkadeScroll').scrollTop() + 180);
	});
});

$(document).ready(function() {
	$('#SkadeScrollUp').click(function(){
		$('#SkadeScroll').scrollTop($('#SkadeScroll').scrollTop() - 180);
	});
});

$(document).ready(function() {
	$('#ProductScrollDown').mousedown(function(){
		$('#AlfabetScroll').scrollTop($('#AlfabetScroll').scrollTop() + 180);
	});
});

$(document).ready(function() {
	$('#ProductScrollUp').mousedown(function(){
		$('#AlfabetScroll').scrollTop($('#AlfabetScroll').scrollTop() - 180);
	});
});

//$(document).ready(function() {
//    var badBrowser = (/MSIE ((5\.5)|6)/.test(navigator.userAgent) && navigator.platform == "Win32");
//    if (badBrowser) {
//        confirm('You are using internet explorer 6, witch is a bad and outdated browser.\n we recommand that you update your browser to version 7 or 8\n click ok to continue to Update');
//        window.location.replace("http://www.microsoft.com/windows/internet-explorer/default.aspx"); 
//    }
//});

$(document).ready(function() {
    var hojde = $('#AlfabetScroll').height();
    if (hojde > 410) {
            $('.pageContentMaster').css('height', hojde + 80);
	  $('#SkadeScroll').css('height', hojde)
	  $('#divscroll2').css('height', hojde)
        } else {
            
        }
});

$(document).ready(function() {
	$('p').each(function() {
		if ($(this).attr('class'))
		{
			
		} else {
			$(this).addClass('font12')
		}
	});
});