 
var mycarousel_itemList = [



    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman-chilliwack-bchydro_visit_111.jpg',
            large:'<img src=/ener/carousel/images/coleman-chilliwack-bchydro_visit_400.jpg>',
            alt:'Energy and Mines Minister Rich Coleman (left) meets with Greg Reimer, BC Hydro&rsquo;s Executive Vice-President, Transmission &amp; Distribution and Edie Thome, Director, Environmental Risk Management, at the Chilliwack substation that was damaged in a January 27 fire. ',
   			cutline:'<h4>CHILLIWACK SUBSTATION TOUR</h4><p>Energy and Mines Minister Rich Coleman (left) meets with Greg Reimer, BC Hydro&rsquo;s Executive Vice-President, Transmission &amp; Distribution and Edie Thome, Director, Environmental Risk Management, at the Chilliwack substation that was damaged in a January 27 fire.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_roundup_podium_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_roundup_podium_400.jpg>',
            alt:'Jan. 23, 2012 &ndash; Minister of Energy and Mines Rich Coleman announces B.C. experienced its second consecutive year of rising mineral exploration expenditures in 2011, as the industry continued a dramatic upward trend at the Association for Mineral Exploration of BC&rsquo;s Roundup opening ceremonies in Vancouver. [News release] ',
   			cutline:'<h4>B.C. CELEBRATES SOARING EXPLORATION EXPENDITURES</h4><p>Jan. 23, 2012 &ndash; Minister of Energy and Mines Rich Coleman announces B.C. experienced its second consecutive year of rising mineral exploration expenditures in 2011, as the industry continued a dramatic upward trend at the Association for Mineral Exploration of BC&rsquo;s Roundup opening ceremonies in Vancouver. [<a onclick=&quot;target=&rsquo;&rsquo;&quot; href=http://www.newsroom.gov.bc.ca/2012/01/bc-celebrates-soaring-exploration-expenditures.html>News release</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_howe_st_1_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_howe_st_1_400.jpg>',
            alt:'Nov. 28, 2011 &ndash; Minister Responsible for Housing Rich Coleman announces construction of the Howe Street development, 110 new units of supportive Housing in Vancouver. ',
   			cutline:'<h4>NEW SUPPORTIVE HOUSING FOR VANCOUVER</h4><p>Nov. 28, 2011 &ndash; Minister Responsible for Housing Rich Coleman announces construction of the Howe Street development, 110 new units of supportive Housing in Vancouver.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_howe_st_2_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_howe_st_2_400.jpg>',
            alt:'Nov. 28, 2011 &ndash; From left, President of McLaren Housing Society Darren Kopetsky, Minister of Housing Rich Coleman, President and CEO of Streetohome Foundation Dick Vollet, Senior Vice President, BC &amp; Yukon Division, BMO Financial Group Joanne Gassman, and Vancouver Mayor Gregor Robertson, mark construction of the Howe St. development in Vancouver. ',
   			cutline:'<h4>NEW SUPPORTIVE HOUSING FOR VANCOUVER</h4><p>Nov. 28, 2011 &ndash; From left, President of McLaren Housing Society Darren Kopetsky, Minister of Housing Rich Coleman, President and CEO of Streetohome Foundation Dick Vollet, Senior Vice President, BC &amp; Yukon Division, BMO Financial Group Joanne Gassman, and Vancouver Mayor Gregor Robertson, mark construction of the Howe St. development in Vancouver.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/mica_dam_111.jpg',
            large:'<img src=/ener/carousel/images/mica_dam_400.jpg>',
            alt:'September 23, 2011 &ndash; Energy and Mines Minister Rich Coleman and Speaker of the House Bill Barisoff view construction work being done at Mica Dam. BC Hydro is investing between up to $800 million to install two new 500 megawatt generating units at Mica &ndash; enough to power 80,000 homes in British Columbia. ',
   			cutline:'<h4>VIEW FROM ABOVE</h4><p>September 23, 2011 &ndash; Energy and Mines Minister Rich Coleman and Speaker of the House Bill Barisoff view construction work being done at Mica Dam. BC Hydro is investing between up to $800 million to install two new 500 megawatt generating units at Mica &ndash; enough to power 80,000 homes in British Columbia.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/minerescue_038_111.jpg',
            large:'<img src=/ener/carousel/images/minerescue_038_400.jpg>',
            alt:'Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. B.C. teams competed in tasks that simulated fire fighting, victim extrication, rope rescue, first aid and underground mine rescue. ',
   			cutline:'<h4>THINGS HEAT UP AT WESTERN REGIONAL MINE RESCUE COMPETITION IN FERNIE</h4><p>Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. B.C. teams competed in tasks that simulated fire fighting, victim extrication, rope rescue, first aid and underground mine rescue.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/minerescue_060_111.jpg',
            large:'<img src=/ener/carousel/images/minerescue_060_400.jpg>',
            alt:'Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. Simulated victims add a sense of reality to the competition and provide entertaining drama to the tasks. ',
   			cutline:'<h4>WESTERN REGIONAL MINE RESCUE COMPETITION MAKES SAFETY A PRIORITY</h4><p>Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. Simulated victims add a sense of reality to the competition and provide entertaining drama to the tasks.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/minerescue_083_111.jpg',
            large:'<img src=/ener/carousel/images/minerescue_083_400.jpg>',
            alt:'Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. Simulated victims add a sense of reality to the competition, and provide entertaining drama to the tasks. ',
   			cutline:'<h4>WESTERN REGIONAL MINE RESCUE COMPETITION MAKES SAFETY A PRIORITY</h4><p>Sept. 10, 2011 &ndash; Fernie hosted the Western Regional Surface and Underground Mine Rescue Competition over the weekend. Simulated victims add a sense of reality to the competition, and provide entertaining drama to the tasks.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/glimpse_lake_1_111.jpg',
            large:'<img src=/ener/carousel/images/glimpse_lake_1_400.jpg>',
            alt:'August 26, 2011 &ndash; Minister Rich Coleman takes part in a blanket wrapping ceremony. The Upper Nicola Band, the Okanagan Nation Alliance, the Nlaka&rsquo;pamux Nation Tribal Council and BC Hydro have entered into a landmark agreement related to the construction of BC Hydro&rsquo;s Interior to Lower Mainland Transmission Project. ',
   			cutline:'<h4>RELATIONSHIP BUILDING ON THE INTERIOR TO LOWER MAINLAND TRANSMISSION PROJECT</h4><p>August 26, 2011 &ndash; Minister Rich Coleman takes part in a blanket wrapping ceremony. The Upper Nicola Band, the Okanagan Nation Alliance, the Nlaka&rsquo;pamux Nation Tribal Council and BC Hydro have entered into a landmark agreement related to the construction of BC Hydro&rsquo;s Interior to Lower Mainland Transmission Project.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/glimpse_lake_2_111.jpg',
            large:'<img src=/ener/carousel/images/glimpse_lake_2_400.jpg>',
            alt:'August 26, 2011 &ndash; Energy and Mines Minister Rich Coleman in a gift exchange with Chief Dan Manuel of the Upper Nicola Band. The Upper Nicola Band, the Okanagan Nation Alliance, the Nlaka&rsquo;pamux Nation Tribal Council and BC Hydro have entered into a landmark agreement. ',
   			cutline:'<h4>RELATIONSHIP BUILDING ON THE INTERIOR TO LOWER MAINLAND TRANSMISSION PROJECT</h4><p>August 26, 2011 &ndash; Energy and Mines Minister Rich Coleman in a gift exchange with Chief Dan Manuel of the Upper Nicola Band. The Upper Nicola Band, the Okanagan Nation Alliance, the Nlaka&rsquo;pamux Nation Tribal Council and BC Hydro have entered into a landmark agreement.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/glimpse_lake_3_111.jpg',
            large:'<img src=/ener/carousel/images/glimpse_lake_3_400.jpg>',
            alt:'August 26, 2011 &ndash; From left to right Greg Reimer BC Hydro, BC Hydro Chair Dan Doyle, Chief Bob Pasco (NNTC), Chief Daniel Manuel (Upper Nicola), BC Hydro President and CEO Dave Cobb, Grand Chief Stewart Phillip and Energy and Mines Minister Rich Coleman following the signing of the agreement. ',
   			cutline:'<h4>RELATIONSHIP BUILDING ON THE INTERIOR TO LOWER MAINLAND TRANSMISSION PROJECT</h4><p>August 26, 2011 &ndash; From left to right Greg Reimer BC Hydro, BC Hydro Chair Dan Doyle, Chief Bob Pasco (NNTC), Chief Daniel Manuel (Upper Nicola), BC Hydro President and CEO Dave Cobb, Grand Chief Stewart Phillip and Energy and Mines Minister Rich Coleman following the signing of the agreement.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_copper_mountain1_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_copper_mountain1_400.jpg>',
            alt:'August 18, 2011 &ndash; Energy and Mines Minister Rich Coleman at the official opening of the Copper Mountain Mine. The 7,200-hectare site is located 20 km south of the town of Princeton and is expected to produce approximately 2.27 billion kilos of copper over its life.[Read more] ',
   			cutline:'<h4>COPPER MOUNTAIN OPENS</h4><p>August 18, 2011 &ndash; Energy and Mines Minister Rich Coleman at the official opening of the Copper Mountain Mine. The 7,200-hectare site is located 20 km south of the town of Princeton and is expected to produce approximately 2.27 billion kilos of copper over its life.<br >[<a href=http://www.newsroom.gov.bc.ca/2011/08/first-new-copper-mine-since-1998-opens-near-princeton.html>Read more</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_copper_mountain2_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_copper_mountain2_400.jpg>',
            alt:'August 18, 2011 &ndash; Rich Coleman at the Copper Mountain Mine, the first new major metals mine to open in the province since 1998.[Read more] ',
   			cutline:'<h4>COPPER MOUNTAIN OPENS</h4><p>August 18, 2011 &ndash; Rich Coleman at the Copper Mountain Mine, the first new major metals mine to open in the province since 1998.<br >[<a href=http://www.newsroom.gov.bc.ca/2011/08/first-new-copper-mine-since-1998-opens-near-princeton.html>Read more</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_copper_mountain3_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_copper_mountain3_400.jpg>',
            alt:'August 18, 2011 &ndash; From left &ndash; Copper Mountain CEO Jim O&rsquo;Rourke, Mining Association of B.C. president Karina Brino, Energy and Mines Minister Rich Coleman, Princeton mayor Randy McLean, Pierre Gratton, president of the Mining Association of Canada and Penticton MLA Barisoff at the opening of the Copper Mountain Mine.[Read more] ',
   			cutline:'<h4>COPPER MOUNTAIN OPENS</h4><p>August 18, 2011 &ndash; From left &ndash; Copper Mountain CEO Jim O&rsquo;Rourke, Mining Association of B.C. president Karina Brino, Energy and Mines Minister Rich Coleman, Princeton mayor Randy McLean, Pierre Gratton, president of the Mining Association of Canada and Penticton MLA Barisoff at the opening of the Copper Mountain Mine.<br >[<a href=http://www.newsroom.gov.bc.ca/2011/08/first-new-copper-mine-since-1998-opens-near-princeton.html>Read more</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/coleman_copper_mountain_111.jpg',
            large:'<img src=/ener/carousel/images/coleman_copper_mountain_400.jpg>',
            alt:'August 18, 2011 &ndash; Energy and Mines Minister Rich Coleman at the opening of the Copper Mountain Mine in Princeton. The mine is Canada&rsquo;s third largest copper mine and brings jobs to the area and benefits the entire province. [Read more] ',
   			cutline:'<h4>COPPER MOUNTAIN OPENS</h4><p>August 18, 2011 &ndash; Energy and Mines Minister Rich Coleman at the opening of the Copper Mountain Mine in Princeton. The mine is Canada&rsquo;s third largest copper mine and brings jobs to the area and benefits the entire province. [<a href=http://www.newsroom.gov.bc.ca/2011/08/first-new-copper-mine-since-1998-opens-near-princeton.html>Read more</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/Sorella_111.jpg',
            large:'<img src=/ener/carousel/images/Sorella_400.jpg>',
            alt:'July 25, 2011 &ndash; James Moore, Minister of Canadian Heritage and Official Languages; Rich Coleman, Minister Responsible for Housing; Janice Abbott, CEO, Atira; Kathy Butler, Atira and Vancouver Mayor Gregor Robertson, open Sorella, a new 108-unit supportive housing development for women at risk of homelessness in the Downtown Eastside of Vancouver. ',
   			cutline:'<h4>SORELLA GRAND OPENING</h4><p>July 25, 2011 &ndash; James Moore, Minister of Canadian Heritage and Official Languages; Rich Coleman, Minister Responsible for Housing; Janice Abbott, CEO, Atira; Kathy Butler, Atira and Vancouver Mayor Gregor Robertson, open Sorella, a new 108-unit supportive housing development for women at risk of homelessness in the Downtown Eastside of Vancouver.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/waneta2_111.jpg',
            large:'<img src=/ener/carousel/images/waneta2_400.jpg>',
            alt:'July 21, 2011 &ndash; Minister Rich Coleman at the Waneta Dam near Trail. The project will provide enough clean energy to power about 60,000 homes per year and will reduce greenhouse gas emissions by 400,000 tonnes &mdash; the equivalent of taking 78,000 cars off the road. ',
   			cutline:'<h4>WANETA DAM EXPANSION CONSTRUCTION CONTINUES</h4><p>July 21, 2011 &ndash; Minister Rich Coleman at the Waneta Dam near Trail. The project will provide enough clean energy to power about 60,000 homes per year and will reduce greenhouse gas emissions by 400,000 tonnes &mdash; the equivalent of taking 78,000 cars off the road.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/waneta1_111.jpg',
            large:'<img src=/ener/carousel/images/waneta1_400.jpg>',
            alt:'July 21, 2011 &ndash; Energy Minister Rich Coleman at the Keenleyside Dam near Castlegar. The minister was on hand for the opening of a new public viewing area across from the construction site of the Waneta Expansion Project. ',
   			cutline:'<h4>VISIT TO THE KEENLEYSIDE DAM</h4><p>July 21, 2011 &ndash; Energy Minister Rich Coleman at the Keenleyside Dam near Castlegar. The minister was on hand for the opening of a new public viewing area across from the construction site of the Waneta Expansion Project.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/breaking_ground_111.jpg',
            large:'<img src=/ener/carousel/images/breaking_ground_400.jpg>',
            alt:'June 27, 2011 &ndash; From left: Lorna Howes, Vancouver Coastal Health; Dr. Jennifer Newman, RainCity Housing and Support Society; Dick Vollet, Streetohome Foundation;&nbsp; Minister Rich Coleman; Vancouver Mayor Gregor Robertson, and Dane Jansen, Katherine Sanford Housing Society break ground on a supportive housing development at 215 West 2nd Avenue, Vancouver. ',
   			cutline:'<h4>BREAKING GROUND</h4><p>June 27, 2011 &ndash; From left: Lorna Howes, Vancouver Coastal Health; Dr. Jennifer Newman, RainCity Housing and Support Society; Dick Vollet, Streetohome Foundation;&nbsp; Minister Rich Coleman; Vancouver Mayor Gregor Robertson, and Dane Jansen, Katherine Sanford Housing Society break ground on a supportive housing development at 215 West 2nd Avenue, Vancouver.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/minerescue_competition_111.jpg',
            large:'<img src=/ener/carousel/images/minerescue_competition_400.jpg>',
            alt:'June 11, 2011 &ndash; A team takes part in the surface fire task during the 56th annual Mine Rescue and First Aid Competition in Revelstoke. The task simulates extinguishing a surface propane fire. ',
   			cutline:'<h4>MINE RESCUE COMPETITION HEATS UP</h4><p>June 11, 2011 &ndash; A team takes part in the surface fire task during the 56th annual Mine Rescue and First Aid Competition in Revelstoke. The task simulates extinguishing a surface propane fire.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/minerescue_safety_first_111.jpg',
            large:'<img src=/ener/carousel/images/minerescue_safety_first_400.jpg>',
            alt:'June 11, 2011 &ndash; A member of the Myra Falls underground mine rescue teams builds a set to support unstable rock in the simulated underground obstacle and recovery task during the during the 56th annual Mine Rescue and First Aid Competition in Revelstoke. ',
   			cutline:'<h4>SAFETY FIRST IN REVELSTOKE</h4><p>June 11, 2011 &ndash; A member of the Myra Falls underground mine rescue teams builds a set to support unstable rock in the simulated underground obstacle and recovery task during the during the 56th annual Mine Rescue and First Aid Competition in Revelstoke.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/westpender2_111.jpg',
            large:'<img src=/ener/carousel/images/westpender2_400.jpg>',
            alt:'June 3, 2011 &ndash; From left: Dave Eddy, Richard George, Vancouver Native Housing Society; Councillor Kerry Jang, City of Vancouver; Minister Rich Coleman; Irene Jensen, resident, Vancouver Native Housing Society; Amanda Nahanee and Chief Ian Campbell, Squamish First Nation celebrate at the Vancouver Healing Lodge and Urban Aboriginal Gallery. ',
   			cutline:'<h4>CONSTRUCTION DAY AT WEST PENDER</h4><p>June 3, 2011 &ndash; From left: Dave Eddy, Richard George, Vancouver Native Housing Society; Councillor Kerry Jang, City of Vancouver; Minister Rich Coleman; Irene Jensen, resident, Vancouver Native Housing Society; Amanda Nahanee and Chief Ian Campbell, Squamish First Nation celebrate at the Vancouver Healing Lodge and Urban Aboriginal Gallery.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/westpender1_111.jpg',
            large:'<img src=/ener/carousel/images/westpender1_400.jpg>',
            alt:'June 3, 2011 &ndash; Celebrating Construction at 31 West Pender- Minister Responsible for Housing Rich Coleman speaks at the groundbreaking of the Vancouver Healing Lodge and Urban Aboriginal Gallery. ',
   			cutline:'<h4>CELEBRATING CONSTRUCTION AT 31 WEST PENDER</h4><p>June 3, 2011 &ndash; Celebrating Construction at 31 West Pender- Minister Responsible for Housing Rich Coleman speaks at the groundbreaking of the Vancouver Healing Lodge and Urban Aboriginal Gallery.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/city_central_update_111.jpg',
            large:'<img src=/ener/carousel/images/city_central_update_400.jpg>',
            alt:'May 27, 2011 &ndash; Minister Rich Coleman updates media on the Vancouver City Central Transmission project as construction crews move an 850-metre power line bundle through Vancouver&rsquo;s Fairview neighbourhood. The project is the most significant investment in central Vancouver&rsquo;s electrical system in almost 30 years and includes laying almost a kilometre of power lines under the bed of False Creek. ',
   			cutline:'<h4>CITY CENTRAL UPDATE</h4><p>May 27, 2011 &ndash; Minister Rich Coleman updates media on the Vancouver City Central Transmission project as construction crews move an 850-metre power line bundle through Vancouver&rsquo;s Fairview neighbourhood. The project is the most significant investment in central Vancouver&rsquo;s electrical system in almost 30 years and includes laying almost a kilometre of power lines under the bed of False Creek.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/city_central_transmission_111.jpg',
            large:'<img src=/ener/carousel/images/city_central_transmission_400.jpg>',
            alt:'May 27, 2011 &ndash; Minister Rich Coleman speaks to construction foreman Mike Hoye of Michels Canada in advance of crews moving an 850-metre pipe bundle through the streets of Vancouver&rsquo;s Fairview neighbourhood. Workers will then finish pulling the bundle through a pre-bored tunnel under the bed of False Creek that will begin at Laurel St and West 7th Ave and finish at David Lam Park. ',
   			cutline:'<h4>CITY CENTRAL TRANSMISSION</h4><p>May 27, 2011 &ndash; Minister Rich Coleman speaks to construction foreman Mike Hoye of Michels Canada in advance of crews moving an 850-metre pipe bundle through the streets of Vancouver&rsquo;s Fairview neighbourhood. Workers will then finish pulling the bundle through a pre-bored tunnel under the bed of False Creek that will begin at Laurel St and West 7th Ave and finish at David Lam Park.</p>'},
        

    
    
            {type:'flash',
            video:'http://www.youtube.com/v/HgWp9Qv3_28',
            large:'',
            thumb:'/ener/carousel/thumbs/minning_week_111.jpg',
            alt:'May 6, 2011 - Rich Coleman, Minister of Energy and Mines, wishes all of B.C. a great Mining Week. The week celebrates the sustainable growth of the industry, which creates jobs and economic opportunities in communities across the province. ',
   			cutline:'<h4>B.C. CELEBRATES MINING WEEK </h4><p>May 6, 2011 - Rich Coleman, Minister of Energy and Mines, wishes all of B.C. a great Mining Week. The week celebrates the sustainable growth of the industry, which creates jobs and economic opportunities in communities across the province.</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/mining_ripped_111.gif',
            large:'<img src=/ener/carousel/images/mining_ripped_400.gif>',
            alt:'May 12, 2011 &ndash; B.C.&rsquo;s $7 billion mining industry is reason to celebrate this Mining Week, May 8 to 14, 2011, with employment, revenue, exports, production and prices all up over the previous year and on the rise. Here&rsquo;s a look at mining in B.C. by the numbers. [Read more] ',
   			cutline:'<h4>MINING BY THE NUMBERS</h4><p>May 12, 2011 &ndash; B.C.&rsquo;s $7 billion mining industry is reason to celebrate this Mining Week, May 8 to 14, 2011, with employment, revenue, exports, production and prices all up over the previous year and on the rise. Here&rsquo;s a look at mining in B.C. by the numbers. [<a href=http://www.flickr.com/photos/bcgovphotos/5713525643/in/photostream>Read more</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/exploring_bc_potential_111.jpg',
            large:'<img src=/ener/carousel/images/exploring_bc_potential_400.jpg>',
            alt:'May 10, 2011 &ndash; With a $12 million investment from the Province, Geoscience BC can continue to provide new data to help companies and prospectors explore the exciting potential to find mineral and oil and gas resources, leading to jobs and economic diversification. [News release] ',
   			cutline:'<h4>EXPLORING B.C’S POTENTIAL</h4><p>May 10, 2011 &ndash; With a $12 million investment from the Province, Geoscience BC can continue to provide new data to help companies and prospectors explore the exciting potential to find mineral and oil and gas resources, leading to jobs and economic diversification. [<a href=http://www2.news.gov.bc.ca/news_releases_2009-2013/2011ENER0029-000522.pdf>News release</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/maxxine_wright_centre_111.jpg',
            large:'<img src=/ener/carousel/images/maxxine_wright_centre_400.jpg>',
            alt:'May 6, 2011 &ndash; Premier Christy Clark, third from left, with, from left, MLAs Dave Hayer and Linda Reid, Surrey councillor Judy Villeneuve, Atira board chair Miriam Sobrino, and Rich Coleman, Minister of Energy and Mines and Minister Responsible for Housing, and young residents celebrate the centre&rsquo;s opening.&nbsp;[News release] ',
   			cutline:'<h4>MAXXINE WRIGHT CENTRE SUPPORTS SURREY WOMEN AND CHILDREN</h4><p>May 6, 2011 &ndash; Premier Christy Clark, third from left, with, from left, MLAs Dave Hayer and Linda Reid, Surrey councillor Judy Villeneuve, Atira board chair Miriam Sobrino, and Rich Coleman, Minister of Energy and Mines and Minister Responsible for Housing, and young residents celebrate the centre&rsquo;s opening.&nbsp;[<a href=http://www2.news.gov.bc.ca/news_releases_2009-2013/2011PREM0047-000513.pdf>News release</a>]</p>'},
        

    
    
            {type:'image',
            thumb:'/ener/carousel/thumbs/ntl_project_111.jpg',
            large:'<img src=/ener/carousel/images/ntl_project_400.jpg>',
            alt:'May 6, 2011 &ndash; The federal government has given environmental approval for the Northwest Transmission Line.&nbsp; NTL could attract $15 billion in investment and create over 10,000 jobs over the next few decades.&nbsp; The NTL is a $404-million, 287-kilovolt, 335-kilometre, publicly owned transmission line from Skeena Substation (near Terrace) to Bob Quinn Lake. [News release] ',
   			cutline:'<h4>GREEN LIGHT FOR NTL</h4><p>May 6, 2011 &ndash; The federal government has given environmental approval for the Northwest Transmission Line.&nbsp; NTL could attract $15 billion in investment and create over 10,000 jobs over the next few decades.&nbsp; The NTL is a $404-million, 287-kilovolt, 335-kilometre, publicly owned transmission line from Skeena Substation (near Terrace) to Bob Quinn Lake. [<a href=http://www2.news.gov.bc.ca/news_releases_2009-2013/2011ENER0028-000516.pdf>News release</a>]</p>'}
        


];

function initialize() {
	var item = mycarousel_itemList[0];
	if(item.type == 'image')
		updateCarousel(item.large, item.cutline)
	if(item.type == 'flash')
		create_flash(item.video, item.large, item.cutline);
}				

function create_flash(video, large, cutline)
{
	ReplaceCutline(cutline);
	//var so = new SWFObject(video,'mpl','400','285','9');
	
	if(video.match(/youtube.com/))
		var so = new SWFObject(video,'mpl','400','285','9');
		
	else {
		var so = new SWFObject('/shared/includes/flash/player.swf','mpl','400','285','9');
		so.addParam('allowfullscreen','true');
		so.addParam('allowscriptaccess','always');
		so.addParam('wmode','opaque');
		so.addVariable('file', video);
		so.addVariable('image', large);
	}

	so.write('display');
};

function updateCarousel(image, cutline)
{
	ReplaceContentInContainer(image);
	ReplaceCutline(cutline);
}

function ReplaceContentInContainer(content) {
	var container = document.getElementById('display');
	container.innerHTML = content;
}

function ReplaceCutline(content) {
	var container = document.getElementById('carousel-cutline');
	container.innerHTML = content;
}

function mycarousel_itemVisibleInCallback(carousel, item, i, state, evt)
{
    // The index() method calculates the index from a
    // given index who is out of the actual item range.
    var idx = carousel.index(i, mycarousel_itemList.length);
    carousel.add(i, mycarousel_getItemHTML(mycarousel_itemList[idx - 1]));
};

function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt)
{
    carousel.remove(i);
};

/**
 * Item html creation helper.
 */
function mycarousel_getItemHTML(item)
{
	if(item.type == 'image')
		return '<img style="cursor:pointer;" onclick="javascript:updateCarousel(\'' + item.large + '\',\'' + item.cutline + '\');" src="' + item.thumb + '" alt="' + item.alt + '" />';
	if(item.type == 'flash')
		return '<img style="cursor:pointer;" onclick="javascript:create_flash(\'' + item.video + '\',\'' + item.large + '\',\'' + item.cutline + '\');" src="' + item.thumb + '" alt="' + item.alt + '" />';
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        wrap: 'circular',
		scroll: 4,
        itemVisibleInCallback: {onBeforeAnimation: mycarousel_itemVisibleInCallback},
        itemVisibleOutCallback: {onAfterAnimation: mycarousel_itemVisibleOutCallback}
    });
});


