Friday, June 24, 2011

Canadian-designed Taliban chess set latest craze for troops

',
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() {

$(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/F56/~3/-sHkKo1NKhQ/story.html

nia long united airlines maxwell penn and teller malwarebytes anti malware colton harris moore barefoot bandit

Source:

california dmv ipad 2 jailbreak asparagus glutathione paypal harry potter and the deathly hallows part 2 pga tour

Source:

rim corvette current time george washington gmt samuel l jackson spl

Thursday, June 23, 2011

Samsung denies being in talks with Apple | TUAW - The Unofficial ...

The Apple/Samsung legal feud continues. This week a US district judge suggested to the two companies that they should try to settle their patent infringement suits out of court, citing the companies' close business relationships. Apple's and its legal council seemed to agree and Apple's lawyer told the judge that executives "at the highest levels" of two companies were actively meeting to work things out. However, Samsung denies those talks are even happening.

The Korean company told UK site V3 that "We are unaware of any meetings or discussions between the two sides over this matter." Apple recently came to a patent settlement agreement with Nokia, and many in the industry -- not to mention the courts -- hope Apple and Samsung can come to a similar settlement. However, the primary argument Apple has with Samsung isn't about technology patents, it's about Samsung stealing the look and feel of the iPad and iPhone to use in its own products. Needless to say, it's unlikely that a case will be settled out of court when one company says that it's talking to the other to try to resolve the issue and the other company says no such talks exist.


Share

Source: http://www.tuaw.com/2011/06/20/samsung-denies-being-in-talks-with-apple/

boston red sox the new york times solar system the dark knight serenity taken discount tire

Source:

mass effect 3 ghost recon future soldier apple icloud dday steve jobs paul mcdonald nikki reed

Wednesday, June 22, 2011

Home Remedies for Curing Acne Which Really Work! | Article Coral

[unable to retrieve full-text content]Locating a treatment that can actually help your acne, whether you are trying to treat pimples on your back or face, can be very depressing if the zits will not go away. Success with any home remedy that you try for your ...

Source: http://articlecoral.com/health-fitness/acne/home-remedies-for-curing-acne-which-really-work

engadget d day apple news anthony weiner mac rumors ios 5 gizmodo

UPDATE 1-Migao, other Chinese shares targeted by short-sellers

Mon Jun 20, 2011 5:56pm EDT

* Doubts still linger about Migao's potash supply contract

* Migao shares still down sharply despite buyback plan

* China's Silvercorp, GLG among others hit by Sino scandal

By Euan Rocha

TORONTO, June 16 (Reuters) - Investors have ratcheted-up their bets that Migao Corp (MGO.TO) shares will fall further despite a buyback, after a recent supply contract raised suspicions about the Chinese fertilizer company.

Shares of North American-listed Chinese companies have come under intense scrutiny after short-seller Muddy Waters earlier this month accused Sino-Forest (TRE.TO) of fraudulently exaggerating the size of its forestry assets.

Migao, whose Toronto-listed shares have fallen more than 30 percent this month, is among the hardest hit. The company's disclosure that it made a hefty upfront payment to secure a potash supply deal with an unknown Russian company has raised some investor concerns about its financial dealings.

The latest short-interest data from exchange operator TMX Group indicates that short positions in Migao have risen more than 40 percent in the two-week period ended June 15.

That correlates with data from Data Explorers that shows that more than 9 percent of Migao's outstanding shares were on loan as of June 15, up from less than 1.5 percent at the beginning of the month. The firm said the spike reflects short-selling activity - essentially bets that the shares will drop.

Data Explorers also said nearly 75 percent of Migao's shares available to be borrowed were already out on loan. The firm collects data from custodian banks that run lending programs on behalf of mutual and pension funds, who sometimes put their holdings into lending programs.

"It would be very hard to short more of this stock, because three-quarters of the available supply of shares are out on loan, so there's hardly any more shares that you can get your hands on to short," said Data Explorers spokesman Alex Brog.

Migao Chief Financial Officer Randall Smallbone contends that the increase in short-positions reflects negative market sentiment around Chinese companies in general more than any specific concerns about Migao.

THE $100 MILLION QUESTION

Migao said that it signed a potash supply deal earlier this year with a Russian company, but it declined to provide details about the supplier due to contractual restrictions. It said it had agreed to prepay the supplier $100 million, even though deliveries would not begin until 2013, triggering concern among some investors.

"Any ambiguity around any Chinese name raises questions and suspicions, whether right, or wrong -- that's the market we're in right now," said Barry Schwartz, portfolio manager with Baskin Financial. "The market has a herd mentality, when it comes to sectors and industries and when they hit on a theme, they either love it, or hate it."

In a bid to address investor concerns, Migao said recently it would buy back up to 5 percent of its shares, and its chief executive, who holds a third of the company, has pledged his entire stake against the possibility of a supplier default. [ID:nN0997357]

The Sino-Forest allegations, as well as accounting scandals that have embroiled U.S.-listed Chinese companies, have tainted other Chinese entities with listings in Canada. <^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Q&A about allegations against Sino: [ID:nN15276780] Analysis on U.S.-listed Chinese companies: [ID:nN10232390] Special report on Chinese stock scams: [ID:nN06271838] For data on short positions in Chinese Cos:[ID:nN15302736] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>

Shares of Chinese miner Silvercorp (SVM.TO) have fallen 23 percent this month, while those of GLG Life Tech (GLG.TO) -- a supplier of stevia extracts for zero-calorie sweeteners -- are down more than 25 percent.

Data Explorers said the number of Silvercorp and GLG shares on loan have also doubled over the last month. Currently about 9 percent of Silvercorp shares available for borrowing are out on loan, while about 22 percent of GLG's shares available for borrowing are out on loan.

The latest TMX data also indicates that the number of short positions in both companies more than tripled in the first two weeks of June.

"There's a lot of risk aversion right now to Chinese names and certainly you are probably going to see below average multiples, particularly on names that have some ambiguity surrounding parts of their business," said BMO Capital Markets analyst Joel Jackson.

SUPPLY CONTRACT

Migao shares staged a strong comeback last week, as the share buyback plan kicked in. But analysts and investors still want the company to be more forthcoming with answers.

"The stock is trading as if the market hasn't necessarily received enough information on this to feel comfort," said Jackson, who recently cut his price target on Migao to C$5.75 from C$7.

Migao's supply deal with privately owned Potash Export Co raised eyebrows, as there are only two potash producers in Russia, and both denied having any involvement in the deal, or any ties to Potash Export Co. [ID:nLDE72H1SO]

A third Russian fertilizer company, EuroChem, which plans to launch production at its potash mine in 2013, has also denied any relationship with Potash Export Co.

Despite the doubts that have hit its share price, Migao said it will honor a non-disclosure agreement prohibiting it from disclosing the share structure and resources of its supplier. For competitive reasons, it also refused to disclose the exact discount pricing that is built into the contract.

"Until the Potash Export Co ownership structure is revealed, Migao will likely continue to trade sideways," wrote CIBC analyst Jacob Bout in a recent note to clients. (Reporting by Euan Rocha; editing by Frank McGurty)

Source: http://feeds.reuters.com/~r/reuters/hotStocksNews/~3/PFZB8Fega3w/china-accounting-migao-idUSN1616406720110620

lego star wars nickelodeon conan the barbarian citizens bank shaq marilyn monroe planet fitness