Skip to main content

Sign Up / Sign In




Postmedia.adConfig.writeAd('gpt-oop');









(function(d, s, id)
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));




#leaderboard text-align:right
#leaderboard .ad text-align:right






Postmedia.adConfig.writeAd('gpt-leaderboard');















#panel-networks, #btn-networks display:none;







  • Shopping

  • Jobs

  • Driving

  • Homes

  • Remembering

  • Celebrating





Newspapers

TV Networks



  • National Post

  • The Province (Vancouver)

  • Vancouver Sun

  • Edmonton Journal

  • Calgary Herald

  • Regina Leader-Post

  • Saskatoon StarPhoenix

  • Windsor Star

  • Ottawa Citizen

  • Montreal Gazette











Canada.com
















CDMScriptManager.load("http://www.canada.com/js/autocomplete/jquery.autocomplete.min.js");

var cw = (function()


function ieRoundedCorners()

DD_roundies.addRule('.rounded', '4px');
DD_roundies.addRule('.rounded-bottom', '0px 0px 4px 4px');
DD_roundies.addRule('.rounded-top','4px 4px 0px 0px');




function ie8DropPanel()
var f = '

',
b = '

',
container = $('#drop-panel-container'),
contents = $(container).html();

if (isIE8)

$(container).replaceWith(f+contents+b)







function dropPanelSetUp(data)
/* buttons should be a dataobject of strings representing IDs
the hide and show functions are expecting IDs so passing a class will result in a
failure.

click as the action is assumed for now

the data object should look like this:

masterlistener:(string[dom id]),
panel:(string[dom id]),
eventgroup1: button:(string[dom id]),
content:(string[dom id]),
offset:x:(int),y:(int),
on_state_class: ''(string)
,
eventgroup2: button:(string[dom id]),
content:(string[dom id]),
offset:x:(int),y:(int),
on_state_class: ''(string)
... etc


The drop panel nodes should be placed so they share the same offset parent as the buttons that activate it.

NOTE: IE8 Got-chya: the ID for the panel is hard coded into the IE8 rouned corners code.
If you have changed the ID for the drop panel and are having trouble with IE8
change the ID in the template string in this function: ie8DropPanel()

*/



var speed = 300,
panel = $('#'+data.panel),
buttons = ;



for (var i=1,eg; eg=data[('eventgroup'+i)]; i++)

var bp = $('#'+eg.button).position(), //button position
ph = $('#'+eg.button).height(), //button height
panelPos = [bp.top+ph, bp.left, eg.offset];
on_state_class = eg.on_state_class;

buttons.push([$('#'+eg.button),$('#'+eg.content),panelPos,eg.button,on_state_class]);





$('#'+data.masterlistener).bind('click',speed:speed,panel:panel,buttons:buttons,function(event)

var org = event.target,
speed = event.data.speed,
panel = event.data.panel,
buttons = event.data.buttons,
panel_open = isPanelOpen(panel);




for (var i=buttons.length-1, b; b=buttons[i]; i--) $(org).parents('#'+button_id).attr('id'))

if(!same_content)

hideAllContent(buttons);
movePanel(panel,b[2]);

if (panel_open)

showContent(b[1],b[0],b[4]);

else

showContent(b[1],b[0],b[4]);
showPanel(panel,speed);



else

hidePanel(panel,speed,b[4]);







function isPanelOpen(panel)


return ($(panel).css('display').toLowerCase() === 'block');


function isSameContent (panel,content)

return ($(content, panel).css('display').toLowerCase() === 'block');



function movePanel(panel,b)
// b[0] top, b[1] left, b[2] x,y

$(panel).css(
'top': (b[0] + b[2].x)
);
$(panel).css(
'left': (b[1] + b[2].y)
);



function showPanel(panel,speed)

$(panel).slideDown(speed);


function hidePanel(panel,speed)

$(panel).slideUp(speed, function() hideAllContent(buttons););




function showContent(content, button, btn_class)
$(content).show();
$(button).addClass(btn_class);


function hideContent(content)

$(content).hide();



function hideAllContent(buttons)

for (var i = buttons.length-1, b; b=buttons[i]; i--)
$(b[1]).hide();
$(b[0]).removeClass(b[4]);





)





return

ieRoundedCorners:ieRoundedCorners,
ie8DropPanel:ie8DropPanel,
dropPanelSetUp:dropPanelSetUp




)();



var headerNavication = (function($,cw) {

var nav_item_list = $('.cw-header .main-nav ul.main > li'),
channel_id_list = '',
channel,
sub_channel;

var findChannel = function ()

var winloc = isIE ? document.URL.split('/') : document.documentURI.split('/') ,
channel_id = winloc[3],
sub_chanel_id = winloc.length > 5 ? '/'+winloc[4]+'/' : '',
reg_sub_find_id = new RegExp(sub_chanel_id,'ig'),
reg_removed_id = /^nav-/i;


for (var i=nav_item_list.length-1,n; n=nav_item_list[i]; i--)

if ( channel_id === $(n).children('a').attr('id').replace(reg_removed_id,'') )
var list = $(n).children('ul').children('li');

if (sub_chanel_id.length > 0)

for (var j=list.length-1,l; l=list[j]; j--)

if (reg_sub_find_id.test($(l).children('a').attr('href')))
break;
else
l = false;






break;





findChannel = function ()
return [n,l];


return [n,l];



var init = (function() ())


function highlightSubChannel()

$(sub_channel).addClass('sub-nav-highlight');



function clearNav()

clearTabs();
$(channel).children('ul').show();
$(channel).css('background-position', 'bottom right');



function eventSetUp()


$('.cw-header .main-nav ').bind('mouseleave', function(event)

if (isIE)

if ($(event.relatedTarget).parents('.main-nav').length 0)?"" + value.substring(0,pos) + "" + value.substring(pos, term.length) + "" + value.substring(pos + term.length) + "":value.substring(0, term.length) + "" + value.substring(pos + term.length) + "";
,
scroll: false,
selectFirst: false
);
);




 







 









(function(d, s, id)
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=295961116800"; //this is canada's app id -- needs to be changed
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));
 




 







var playingAd;
document.write("");
function videoScore(evt)
playingAd=evt.data.isAd;
document.getElementById("vid1").src="http://beacon.securestudies.com/scripts/beacon.dll?C1=1&C2=10276888&C3=3005660&C4=" + window.location.pathname.toLowerCase() + "&C5=&C6=&C7=" + escape(window.location.href) + "&C8=" + escape(document.title) + "&C9=" + escape(document.referrer) + "&rn=" + Math.floor(Math.random()*99999999);













 


 


 









Postmedia.adConfig.writeAd('gpt-bigboxtop');









 


 


 


 





 






Most Popular










  • canada.com

  • E-mailed

  • Shared



 






















<!--
-->






 








 

 







 


 









Postmedia.adConfig.writeAd('gpt-bigboxbot');








 


 


showAd('EoS', 'bigboxlower', 'bigboxwrapperlower', 10);



 


 


 






 















/**Postmedia values**/
var chartbeatPath = window.location.pathname.split( '/' );
var chartbeatpage = chartbeatPath[chartbeatPath.length-1].substring(0,chartbeatPath[chartbeatPath.length-1].lastIndexOf('.'));
var sectionName = '';
var authorName = '';

if (chartbeatPath[1].lastIndexOf('.')==-1)
sectionName = chartbeatPath[1];

if (chartbeatpage == 'story')
authorName = $j('#storyheader .name').text();

/**Chartbeat values**/
var _sf_async_config=;
/** CONFIGURATION START **/
_sf_async_config.uid = 3498;
_sf_async_config.domain = 'postmedia.com';
_sf_async_config.sections = 'canada.com'; //This to your Section name
_sf_async_config.authors = authorName; //This to your Author name
_sf_async_config.videoPageGroups = 'true';

/** CONFIGURATION END **/
(function()
function loadChartbeat()
window._sf_endpt=(new Date()).getTime();
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src',
(('https:' == document.location.protocol) ? 'https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/' : 'http://static.chartbeat.com/') +
'js/chartbeat_video.js');
document.body.appendChild(e);

var oldonload = window.onload;
window.onload = (typeof window.onload != 'function') ?
loadChartbeat : function() oldonload(); loadChartbeat(); ;
)();


function pm_get_base_domain()
var host_spl = location.host.split( "." );
return ( 2 <= host_spl.length ) ? host_spl.splice( host_spl.length - 2 ).join( "." ) : "";

(function()
document.domain = pm_get_base_domain();
)();



Sign Up / Sign In















Sign in to your account












Sign in to your account



Welcome Back, * welcomeName *!



* #signInForm *
* signInEmailAddress *
* currentPassword *



* /signInForm *










Account Deactivated




Your account has been deactivated.










Account Reactivation Failed



Sorry, we could not verify that email address.








Account Activated



Your account has been reactivated.













Email Verification Required



You must verify your email address before signing in. Check your email for your verification email, or enter your email address in the form below to resend the email.



* #resendVerificationForm *
* signInEmailAddress *



* /resendVerificationForm *











Almost Done!



Please confirm your details below.


* #socialRegistrationForm *

* firstName *
* lastName *
* emailAddress *
* displayName *

Postmedia wants to improve your reading experience as well as share the best deals and promotions from our advertisers with you. The information below will be used to optimize the content and make ads across the network more relevant to you. You can always change the information you share with us by editing your profile.



Birthdate* birthdate *


Gender* gender *



Attention Print Newspaper Subscribers
For verification of Print Subscriber offers (e.g. epaper, Digital Access, Subscriber Rewards), please input your Print Newspaper subscription phone number and postal code.


* phone *
* addressPostalCode *


By clicking "Create Account", I hearby grant permission to Postmedia to use my account information to create my account.



I also accept and agree to be bound by Postmedia's Terms and Conditions with respect to my use of the Site and I have read and understand Postmedia's Privacy Statement. I consent to the collection, use, maintenance, and disclosure of my information in accordance with the Postmedia's Privacy Policy.



* backButton *


* /socialRegistrationForm *








Almost Done!



Please confirm your details below.
Already have an account? Sign In.


* #registrationForm *

* firstName *
* lastName *
* emailAddress *
* displayName *
* newPassword *
* newPasswordConfirm *

Postmedia wants to improve your reading experience as well as share the best deals and promotions from our advertisers with you. The information below will be used to optimize the content and make ads across the network more relevant to you. You can always change the information you share with us by editing your profile.



Birthdate* birthdate *


Gender* gender *



Attention Print Newspaper Subscribers
For verification of Print Subscriber offers (e.g. epaper, Digital Access, Subscriber Rewards), please input your Print Newspaper subscription phone number and postal code.


* phone *
* addressPostalCode *


By clicking "Create Account", I hearby grant permission to Postmedia to use my account information to create my account.



I also accept and agree to be bound by Postmedia's Terms and Conditions with respect to my use of the Site and I have read and understand Postmedia's Privacy Statement. I consent to the collection, use, maintenance, and disclosure of my information in accordance with the Postmedia's Privacy Policy.



* backButton *


* /registrationForm *








Verfiy your email



We have sent you a confirmation email to * emailAddressData *. Please check your inbox and follow the instructions to confirm your email.
















Create a new password



Follow these simple steps to create a new password:



1. Enter your email address below

2. Wait for the instructions to arrive in your inbox

3. Follow the instructions to update your password


* #forgotPasswordForm *
* signInEmailAddress *

* backButton *


* /forgotPasswordForm *








Create a new password



We've sent an email with instructions to create a new password. Your existing password has not been changed.














* mergeAccounts "custom": true *


Merge Your Accounts









current_emailAddress



current_emailAddress .




- : existing_siteName













Created at existing_siteName













Validating













Sign in to complete account merge
















Resend Verification Email



Sorry, we could not verify your email address. Please enter your email below, and we'll resend the instructions for email verification.


* #resendVerificationForm *
* signInEmailAddress *



* /resendVerificationForm *








Verification Email Sent




Check your email for a link to verify your email address.











Email Verified



Thank you for verifiying your email address.














Change Password












Password Changed



Your password has been successfully updated.










Create New Password



We didn't recognize that password reset code. Please enter your email below, and we'll send you a new code to reset your password.


* #resetPasswordForm *
* signInEmailAddress *



* /resetPasswordForm *








Create New Password



We've sent you an email with instructions to create a new password. Your existing password has not been changed.













var _gaq = _gaq || ;
_gaq.push(['_setAccount', 'UA-24419597-3']);
_gaq.push(['_setDomainName', 'canada.com']);
_gaq.push(['_trackPageview']);
(function()
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
)();

var _comscore = _comscore || ;
_comscore.push( c1: '2', c2: '10276888' );
(function()
var s = document.createElement('script'), el = document.getElementsByTagName('script')[0]; s.async = true;
s.src = (document.location.protocol == 'https:' ? 'https://sb' : 'http://b') + '.scorecardresearch.com/beacon.js';
el.parentNode.insertBefore(s, el);
)();

=0)document.write(unescape('%3C')+'!-'+'-')
//-->

/* */





Popular posts from this blog

芜湖市第十一中学

曲波 (足球运动员)

巴尔喀什湖