// --------------------------------------------------------------------------------------------------------
// Can be removed after the development process, just debugging stuff
// --------------------------------------------------------------------------------------------------------


function getViewportSize()
{
var viewportwidth, viewportheight, result;
if (typeof window.innerWidth != 'undefined')
{
viewportwidth = window.innerWidth,
viewportheight = window.innerHeight
}
result = '/ Viewport = ' + viewportwidth + ' x ' + viewportheight;
if(window.orientation != undefined)
{
result += ' (window orientation: ' + window.orientation + '°)';
}

result += ' jQuery window.height: ' + jQuery(window).height() + 'jQuery window.width:'+ jQuery(window).width();

alert(result);
}
if ((navigator && navigator.platform && navigator.platform.match(/^(iPad)$/))) // or (iPad|iPod|iPhone)
{
//getViewportSize();
//window.onorientationchange = getViewportSize;
}
// <-- End of debugging stuff ;

