Friday, January 6, 2012

What's in a name? Possibly your shot at love, self-esteem and lung cancer

',
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--) {
/*
* b[0] = button DOM object
* b[1] = content DOM object
* b[2] = the display co-ord object:
* [0] = top (int)
* [1] = left (int)
* [2] = offset object
* {x,y}(int,int)
* b[3] = button ID (string)
* b[4] = button 'on' class
*/

var button_id = b[3],
same_content = isSameContent(panel,b[1]);

if ( $(org).attr('id') === button_id || $(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() {
channel = findChannel()[0] || nav_item_list[0];
sub_channel = findChannel()[1];

if (sub_channel) {
highlightSubChannel();
}

clearNav();

if(isIE) {

cw.ieRoundedCorners();

if(isIE8) {
cw.ie8DropPanel();
}
}

if ($('#handle-header').attr('id')) {
cw.dropPanelSetUp({
masterlistener: 'handle-header',
panel: ('drop-panel-container'),
eventgroup1: {
button: 'btn-newspapers',
content: 'panel-newspapers',
offset: {
x: 5,
y: 0
},
on_state_class: 'newspapers-dropdown-on'
},
eventgroup2: {
button: 'btn-networks',
content: 'panel-networks',
offset: {
x: 5,
y: 0
},
on_state_class: 'networks-dropdown-on'
}
});
}

//need to check state of search radio buttons since firefox doesn't reset to the default checked radio button
if($('.cw-header #radio-btn-yp:checked').attr('id') != null){
$('.cw-header #header-search-form').attr('action','http://canadacom.yellowpages.ca/search/');
$('.cw-header #header-search-string').attr('name','what');
$('.cw-header #radio-btn-yp').siblings('label').removeClass('selected');
$('.cw-header #radio-btn-yp').next().addClass('selected');
}

eventSetUp();

}())


function highlightSubChannel() {

if((document.location+"").indexOf("/sports/football/cfl/") > -1) $(".mainnav-item .cfl").addClass('sub-nav-highlight');
else if((document.location+"").indexOf("/sports/football/grey-cup-2011/") > -1) $(".mainnav-item .cfl").addClass('sub-nav-highlight');
else if((document.location+"").indexOf("/sports/football/nfl/") > -1) $(".mainnav-item .nfl").addClass('sub-nav-highlight');
else $(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 }); });

Source: http://feeds.canada.com/~r/canwest/F75/~3/5J6ffup0UEc/story.html

miracle on 34th street mark sanchez santa tracker patrice oneal monkey bread letter from santa sweet potato pie

Hugh Jackman To Take Lead Role In 'Houdini' Musical

'I've been preparing for this role my whole life,' actor says.
By Jocelyn Vena


Hugh Jackman
Photo: Ethan Miller/ Getty Images

Hugh Jackman is ready to hit the Great White Way once again. The actor has been confirmed to take the stage as the lead in "Houdini" Deadline reports.

"I have been deeply fascinated by the life of Harry Houdini since I was young, and in many ways I've been preparing for this role my whole life," Jackman said in a statement. "I am thrilled to be collaborating with this collection of artists who are all at the top of their game."

The play, written by "The Social Network" screenwriter Aaron Sorkin, will open during the 2013/2014 season. Sorkin will work with composer Stephen Schwartz and director Jack O'Brien.

"Rather than being a biography, 'Houdini,' told in a contemporary tone, tells the story of an epic battle that took place between the world's greatest illusionist and a trio of women, known as 'Spiritualists,' who convinced millions of people, including the editors of Scientific American and the New York Times, that they could communicate with the dead," Sorkin said. "The chance to collaborate with Stephen Schwartz, Jack O'Brien and Hugh Jackman on a new Broadway musical is a huge gift."

Before he takes the stage, Jackman has a number of other projects on his plate, including the big-screen adaptation of "Les Miserables," the next installment of "Wolverine" and "Unbound Captives" with Robert Pattinson. Most recently, Jackman starred in the one-man show, "Hugh Jackman: Back on Broadway" and has also starred in "The Boy From Oz" and "A Steady Rain."

Will Hugh Jackman make magic in the role of Harry Houdini? Let us know what you think in the comments!

Related Videos

Source: http://www.mtv.com/news/articles/1676727/hugh-jackman-houdini-musical.jhtml

kourtney kardashian lipitor lipitor kourtney kardashian pregnant again kourtney kardashian pregnant again apple juice apple juice

Murdoch takes to Twitter

Published: January 03. 2012 4:00AM PST

Rupert Murdoch, the media tycoon once portrayed as a skeptic of the Internet, has started his own Twitter account, sharing views on topics from a biography on Steve Jobs to U.S. politics and his New Year?s resolutions.

The News Corp. chairman and chief executive officer has attracted more than 56,000 followers since comments appeared on the microblogging website two days ago under the handle rupertmurdoch. Daisy Dunlop, a spokeswoman for News Corp.?s U.K. publishing unit, confirmed the authenticity of the account.

The 80-year-old Murdoch, on vacation on the Caribbean island of Saint Barthelemy, wrote that a recently published biography on Apple Inc.?s founder was ?interesting but unfair,? while an article in News Corp.-owned Wall Street Journal on Republican presidential hopeful Ron Paul showed the ?huge appeal of libertarian message.?

ARTICLE ACCESS: This article is among those available to all readers. Many more articles are available only to E-Edition members. Sign up today!

View The Bulletin's commenting policy ?

comments powered by

Source: http://feedproxy.google.com/~r/bendbulletin/xKIE/~3/Kb7JyweHNeg/article

no shave november miranda lambert kim kardashian divorce generators generators lesean mccoy while you were sleeping

Thursday, January 5, 2012

Prostate Cancer Pages 4

Sorry, Readability was unable to parse this page for content.

Source: http://www.oneview.com/url/33057444/

carmelo anthony david lee gift card exchange tj holmes bulls waste management aaron rodgers

'Safety-First' Playgrounds Linked to Bored, Inactive Kids: Study (HealthDay)

WEDNESDAY, Jan. 4 (HealthDay News) -- Remember those tall, shiny, metal, sliding boards? They seemed dauntingly steep, but you took the plunge and whizzed downward. Next, you tackled the monkey bars, climbing higher and higher and hanging by your knees at the pinnacle.

Playgrounds are a lot different for today's preschoolers. Low sliding boards, safer plastic climbers and fence-protected platforms are meant to prevent injury. But a preliminary study suggests an unintended result: unenthused, less active kids.

Platforms lead to nowhere, climbers are short and slides are slow. The equipment is easily mastered and kids soon lose interest, daycare providers told researchers in a series of focus groups.

And with increasingly sedentary kids and a worsening childhood obesity epidemic, the study authors said it's time to start balancing safety concerns with the need for vigorous, stimulating play.

Led by Dr. Kristen Copeland, an assistant professor of pediatrics at Cincinnati Children's Hospital Medical Center, the study involved 49 local daycare providers, many highly experienced, at 34 child-care centers. These included inner city, suburban, Head Start and Montessori, church-affiliated, YMCA, worksite- or university-affiliated and corporate/for-profit facilities. Focus groups took place between August 2006 and June 2007.

In the study, appearing online Jan. 4 and in the February issue of Pediatrics, providers described barriers to healthy exercise: state licensing codes and financial constraints that restrict equipment choices, injury concerns and pressures to put class learning above playtime, whether coming from parents or local kindergarten-readiness initiatives.

"We were surprised to hear that parents -- both low-income and upper-income -- were focusing on traditional 'academics' (letters, numbers, colors) instead of outdoor play, even for children as young as 3 years old," Copeland said. "Children learn on the playground -- they learn about nature, weather and the seasons, motion, concepts of distance and speed, and cause and effect. They learn how to negotiate and talk with their peers. And they learn fundamental gross motor skills, like how to throw and catch a ball, and how to skip."

And it's also a case of sluggish bodies make sluggish minds. "Research has shown that children can concentrate and learn better after brief periods of vigorous activity," Copeland noted.

Angela Mickalide, director of research and programs for Safe Kids Worldwide, called the new study "thought-provoking," but said it lacked epidemiologic information on injuries that do occur from playground equipment. "A kid with a traumatic brain injury or fracture is going to be even less active," she noted.

Nearly 220,000 kids aged 14 and under were treated in emergency departments for playground-equipment injuries in 2009, according to a Safe Kids fact sheet. And in children aged 4 and under, most traumatic brain injuries happen on the playground.

Mickalide said that among the most dangerous for young children are "old playgrounds with slides at inclines greater than 45 degrees, climbers that are 8 or 10 feet off the ground, and monkey bars much higher than kids should be on, but without a soft surface underneath."

Safety measures like decreasing equipment height and using protective surfaces like shredded rubber and wood chips in "fall zones" have markedly reduced injury risk, as have state laws requiring conformance to safety guidelines, according to Safe Kids.

It's not always equipment design at issue. Other factors can include "inappropriate behavior on the playground," Mickalide said. "Not playing on soft surfaces. Allowing kids to play on equipment meant for older children. Playing on equipment that gets too hot, or is splintered or damaged. Kids who aren't actively supervised."

When it comes to equipment, less is often more, both experts agreed, and children can get as much out of doing jumping jacks or tossing a ball. "Running and playing games are both healthy and fun," Copeland said.

More information

The National Program for Playground Safety offers tips for parents as well as standards for playground equipment.

Source: http://us.rd.yahoo.com/dailynews/rss/parenting/*http%3A//news.yahoo.com/s/hsn/20120104/hl_hsn/safetyfirstplaygroundslinkedtoboredinactivekidsstudy

brock lesnar vs alistair overeem times square new years eve how to tie a bow tie liquor store chick fil a chick fil a diverticulitis

Facebook Timeline Doesn't Show in Internet Explorer 7 (Mashable)

If you don't like Facebook Timeline, all you have to do to get rid of it is use Internet Explorer 7 -- but be prepared for a buggy experience. Facebook's latest profile redesign is not visible in IE7, and the company might soon completely phase out support for the aging browser, ZDNet suspects. It took Facebook quite awhile to cut support for IE7's ancient predecessor, Internet Explorer 6. In August 2010, Facebook had announced that its chat feature will no longer support IE6, joining many other web services that gave up on the bug-ridden browser.

[More from Mashable: Rupert Murdoch?s Wife Urges Him to Delete Insulting Tweet ? And He Does [VIDEO]]

It seems that the same fate now awaits IE7, which currently has a market share of about 4%, according to StatCounter. When you open a Facebook profile with the new Timeline feature enabled, IE7 will simply show a buggy, old version of the profile.

Officially, Facebook says it recommends using the "most up to date" version of Firefox, IE, Safari or Chrome; it doesn't, however, mention support for older versions of these browsers.

[More from Mashable: Are Text Messages Declining Worldwide? [VIDEO]]

If the move is intentional, it's hardly a surprising one. Once, support for older versions of browsers was an important feat for web services, especially popular ones. Now with many browsers, including IE, being automatically updated for users, there's little reason to keep using a browser that's more than 5 years old.

[Sociable via ZDNet]

This story originally published on Mashable here.

Source: http://us.rd.yahoo.com/dailynews/rss/personaltech/*http%3A//news.yahoo.com/s/mashable/20120102/tc_mashable/facebook_timeline_doesnt_show_in_internet_explorer7

nick cannon presidential candidates mild kidney failure celebrity wife swap republican candidates gla jeff fisher

Woman sues Honda in unlikely place: small claims (AP)

TORRANCE, Calif. ? A woman who expected her Civic Hybrid to be her dream car wants Honda to pay for not delivering the 50 mpg it promised.

But rather than joining other owners in a class-action lawsuit, Heather Peters is going solo against the automaker in small-claims court, an unusual move that could offer a bigger payout. And if successful, it could open the door to a flood of similar lawsuits.

A trial is set for Tuesday in Torrance, where American Honda Motor Co. has its West Coast headquarters.

Peters, a former lawyer, says that as her vehicle's battery deteriorated, it got only 30 mpg.

When Honda ignored her complaints, she filed legal papers seeking reimbursement for her trouble and the extra money she spent on gas. The suit could cost the company up to $10,000.

If other Civic owners follow her lead, she estimates Honda could be forced to pay as much as $2 billion in damages. No high-priced lawyers are involved, and the process is streamlined.

"I would not be surprised if she won," said Richard Cupp Jr., who teaches product-liability law at Pepperdine University. "The judge will have a lot of discretion, and the evidentiary standards are relaxed in small-claims court."

Small claims courts generally handle private disputes that do not involve large amounts of money. In many states, that means small debts, quarrels between tenants and landlords and contract disagreements.

A victory for Peters could encourage others to take the same simplified route, he said.

"There's an old saying among lawyers," Cupp said. "If you want real justice, go to small-claims court."

But he questioned whether her move would start a groundswell of similar cases. He suggested that few people would want to spend the time and energy that Peters has put into her suit when the potential payoff is as little as a few thousand dollars.

Peters opted out of a series of class-action lawsuits filed on behalf of Honda hybrid owners when she saw a proposed settlement would give plaintiffs no more than $200 cash and a rebate of $500 or $1,000 to purchase a new Honda.

The settlement would give trial lawyers $8.5 million, Peters said.

"I was shocked," she said. "I wrote to Honda and said I would take $7,500, which was then the limit on small claims in California. It is going up to $10,000 in 2012."

Typical limits in other states range from $2,500 to $15,000.

She said she also offered to trade her hybrid for a comparable car with a manual transmission, the only thing she trusted at that point.

"I wrote the letter and I said, `If you don't respond, I will file a suit in small-claims court.' I gave them my phone number," she said. "They never called."

She said she also sent emails to top executives at Honda but got no response. She also launched a website, DontSettleWithHonda.org, urging others to take their complaints to small-claims court.

Aaron Jacoby, a Los Angeles attorney who heads the automotive industry group at the Arent Fox law firm, said Peters' strategy, while intriguing, is unlikely to change the course of class-action litigation.

"In the class-action, the potential claimants don't have to do anything," Jacoby said. "It's designed to be an efficient way for a court to handle multiple claims of the same type."

He also questioned her criticism of lawyers' fees. Jacoby said class-action lawyers do extensive work that involves many clients and sometimes spans years. And they are not in it just for money.

"They're representing the underdog, and they believe they are performing a public duty," he said. "Many of these people could not get lawyers to represent them individually."

The judge hearing Peters' case was not expected to make an immediate ruling Tuesday, but small claims matters are usually decided much faster than those in civil courts, which often take years to resolve major cases.

American Honda's offices were closed for the holidays, and no one could be reached for comment. Peters said the company has tried five times to delay the trial but was rebuffed.

The upside of Peters' unusual move, she says, is that litigants are not allowed to have lawyers argue in small-claims court in California. That means any award would not be diluted by attorney's fees. Honda would have to appoint a non-lawyer employee to argue its side in court.

"If I prevail and get $10,000, they have 200,000 of these cars out there," she said.

A judge in San Diego County is due to rule in March on whether to approve Honda's latest class-action settlement offer. Members of the class have until Feb. 11 to accept or decline the deal.

Source: http://us.rd.yahoo.com/dailynews/rss/topstories/*http%3A//news.yahoo.com/s/ap/20120103/ap_on_bi_ge/us_honda_hybrid_suit

austin rivers austin rivers ows kindle fire review community matt schaub fire island