Thursday, July 25, 2013

In Afghanistan with troops, McDonnell elaborates on apology; says he'll address gifts later

',
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 }); });

?

?

?

?

RICHMOND, Va. - In the midst of a covert Middle East trip to visit American troops, Gov. Bob McDonnell isn't discussing gifts from a major political donor and personal benefactor.

The Republican governor spoke with The Associated Press by telephone Wednesday from Kabul, Afghanistan, and said there will be time after he returns to discuss thousands of dollars' worth of gifts from Jonnie R. Williams, the chief executive of Star Scientific, a troubled Virginia nutritional supplements manufacturer.

McDonnell's private legal and public relations team issued a statement Tuesday announcing that he had repaid nearly $125,000 worth of personal and business loans Williams made to McDonnell, his wife and his sister. Neither the loans nor the gifts were disclosed on McDonnell's annual statements of economic interest.

He denies wrongdoing and defends not reporting them, citing a state ethics law. The law is rated among the nation's weakest and compels disclosure only of gifts directly to officeholders, not their families, and exempts gifts from people considered personal friends, as McDonnell claims Williams to be.

"It's proper to hold people accountable to what the current law is, and if there are aspirations to improve that based on the current discussion, then I think that is a fair and legitimate discussion," he said in a 25-minute conversation.

The loans and the gifts are the subject of federal and state investigations into McDonnell's relationship with Williams and whether the governor used his office to help promote Star Scientific's anti-inflammatory supplement, Anatabloc, in return. Neither McDonnell nor his family has been accused of criminal wrongdoing.

"I have been, obviously, very saddened with the concerns that have been expressed about things that I have done in my personal financial dealings as governor," McDonnell said in the interview. "I thought this would be something critically important for me to do."

New, almost daily disclosures in news reports of additional largesse from Williams to the governor's family have eroded his public support to its lowest point yet. A Quinnipiac University poll last week showed only 46 per cent of those surveyed approved of his performance in office, a drastic plunge from October 2011 when two-thirds in the same poll approved and he was considered a leading Republican vice-presidential prospect.

He restated his intent not to resign, despite calls from Democrats for him to step down and erroneous blog reports earlier this month that his resignation was imminent.

On Tuesday, McDonnell's private advisers said in a news release he had repaid $52,278 Williams' personal loan to first lady Maureen McDonnell, and Williams' $71,837 loan to MoBo Real Estate Partners, a business the governor owns jointly with his sister.

Asked for a similar accounting of Williams' gifts, including a $15,000 check in 2011 to his daughter, Cailin, to cover catering costs for her Executive Mansion wedding reception, he said there will be a time for that.

"Obviously there's a review of my statements going on. I've filled these out for 22 years, I've always been diligent in my understanding of what the law requires to be done, but I think the people of Virginia are looking at this and other situations and saying, 'Look, the disclosure laws may not be adequate, we may want to know more to be sure that there is not any undue influence of anybody at all in government.' And that's a legitimate question," he said.

"Going down the road I will have some further things to say and actions that I will take and suggestions that I will make," he said.

McDonnell began his trip Monday by visiting wounded soldiers at the Walter Reed National Military Medical Center in Bethesda, Md., before the Pentagon flew him secretly, for security reasons, to Kuwait and then to Afghanistan. He will visit a U.S. military hospital in Germany before returning home over the weekend.

He said he was surprised that Virginians on duty in those countries were as informed as they are about events back home.

"I talked to both a captain yesterday and a master chief today that were asking me about the situation about the tolls in Portsmouth," he said, referring to disputes over tolling for tunnels that would connect the city to Norfolk beneath the Elizabeth River.

?

?

?

?

?

?

?

?

Story Tools

?

?

Font:

?

Image:

?

?


?

Canada.com Health Guide

?

Comprehensive reference and special reports about diseases, conditions, drugs, and tests.

?

To find out more about a drug or condition, enter a keyword:

?

?

?

?

?

?

?

?

?

Diet and Fitness

Diabetes

Vision Care

Yoga

Sport Nutrition

?

?

?

Also on Driving.ca

?

?

?

?

?

'); document.write('

?

'); var i; // Display each ad in turn for(i = 0; i '); document.write(''); document.write('

Source: http://feeds.canada.com/~r/canwest/F77/~3/Ainefau17AQ/story.html

Comic Con 2013 Maia Mitchell Only God Forgives RIPD Garrett Clayton obama British Open

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.