$(document).ready(function()
{
$("#pageflip").hover(function()
{
$("#pageflip img , .msg_block").stop()
.animate({
width: '307px', 
height: '319px'
}, 500); 
} , function() {
$("#pageflip img").stop() 
.animate({
width: '50px', 
height: '52px'
}, 220);
$(".msg_block").stop() 
.animate({
width: '50px', 
height: '50px'
}, 200);
});
});
function blockError()
{
return true;
}
window.onerror = blockError;
function openNewWindow(URLtoOpen, windowName, windowFeatures) 
{
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
hs.graphicsDir = '/sil/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
$(function() {
    $('#i_reload, #weater_menu_one, #ims_cloud, #weater, #weather').disableTextSelect();
});
$(document).ready(function()
{
$('iframe').bind('myCustomTrigger', function()
{
alert('hello');
});
});
function changeActive(id)
{
var aItems = new Array('pm1','pm2','pm3');
for (var i=0;i < aItems.length;i++)
{
$('#'+aItems[i]).removeClass('on');
}
$('#'+id).addClass('on');
}
function refresh()
{
window.location.replace( sURL );
}
window.onorientationchange = function()
{
alert(window.orientation); 
}
