
if($.browser.msie && $.browser.version.substr(0,1)<7)
{
notify_on_unload = false;
window.location = base_url + 'notsupported';
}
$(document).ready(
function() {
notify_on_unload = false;
$('#fb_like').html('<fb:like href="www.facebook.com/canoemarket" layout="button_count" show_faces="false" width="90" font="verdana"></fb:like>').hide(); 
$('#google_plus').html('<g:plusone size="medium"></g:plusone>').hide();
window.fbAsyncInit = function()
{
if (typeof FB != 'undefined')
{
FB.XFBML.parse(document.getElementById('fb_like'), function()
{
$('#fb_like').fadeIn(400); 
}
);
 FB.XFBML.parse(document.getElementById('fb_plugin'), function()
 {
 $('#fb_plugin').fadeIn(400);
 }
 );
}
}
window.setTimeout(
function()
{
$.ajax(
{
type: 'get',
url: 'http://connect.facebook.net/en_US/all.js',
success: function()
{
},
dataType: 'script',
cache: true
}
);
$.ajax(
{
type: 'get',
url: 'http://apis.google.com/js/plusone.js',
success: function()
{
$('#google_plus').fadeIn(2000);
},
dataType: 'script',
cache: true
}
);
},
2000
);
}
);

