adServeLoad(destinationsMonsterAd); function adServeLoad(monsterJSON){ /* START HERE WHEN COMMENTING OUT*/ var monsterObj = JSON.parse(monsterJSON); adToDisplay = Math.floor(Math.random() * (monsterObj.ads.length)); //Debug //console.log("ad to display:" + adToDisplay); //console.log(monsterObj) //console.log(monsterJSON) var viewport = screen.width; //var deviceType = navigator.userAgent.toLowerCase(); var creativeID = monsterObj.ads[adToDisplay].id; //unique cookie id var fullAd = false; var adSize = 1; //Desktop = 3, Tablet = 2, Mobile = 1 var imgSrc = ''; var adLink = monsterObj.ads[adToDisplay].adLink; var correctHeight = 0; var correctWidth = 0; var i = document.createElement('img'); var a = document.createElement('a'); var frequencyCap = 1; //in Days //Show the entire ad if the cookie has not been set, otherwise show the smaller version cookieExists = readCookie(creativeID) fullAd = (cookieExists) ? false : true; if(cookieExists != true) createCookie(creativeID,creativeID,frequencyCap); if(viewport >= 1200){ adSize = 3; }else if(viewport > 767 && viewport < 1200){ adSize = 2; } else { adSize = 1; } switch(adSize){ case 1: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].smallAdFull; correctHeight = monsterObj.ads[adToDisplay].smallAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].smallAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].smallAdCondensed; correctHeight = monsterObj.ads[adToDisplay].smallAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].smallAdCondensedWidth; } break; case 2: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].mediumAdFull; correctHeight = monsterObj.ads[adToDisplay].mediumAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].mediumAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].mediumAdCondensed; correctHeight = monsterObj.ads[adToDisplay].mediumAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].mediumAdCondensedWidth; } break; case 3: default: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].largeAdFull; correctHeight = monsterObj.ads[adToDisplay].largeAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].largeAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].largeAdCondensed; correctHeight = monsterObj.ads[adToDisplay].largeAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].largeAdCondensedWidth; } break; } //a.setAttribute('href',adLink); trackImpression(adLink,'EIN-Monster-'+creativeID); //track the impression a.addEventListener('click', function() { trackOutboundLink(adLink,'EIN-Monster-Click'); return false; }) i.src = imgSrc; document.getElementById("i").appendChild(a).appendChild(i); i.style.height = correctHeight; i.style.width = correctWidth; /*END HERE*/ } /* Menu Click Serving */ //Local $('#menu-item-141681 ul').on('click', function(){ window.location.href = 'http://www.eastidahocu.org/'; }) /* // US/World $('#menu-item-141684 ul').on('click', function(){ window.location.href = ''; }) */ //Live Better $('#menu-item-141691 ul').on('click', function(){ window.location.href = 'http://abseevisioncare.com/'; }) //Money $('#menu-item-141701 ul').on('click', function(){ window.location.href = 'http://www.taylorchev.com/'; }) //Cool Stuff /* $('#menu-item-202844 ul').on('click', function(){ window.location.href = ''; }) */ });

General: Iran’s Supreme Leader Decides on Oil Waterway

World

0  Updated at 4:17 am, July 16th, 2012 By: ABC Digital
Share This Story

iStockphoto/Thinkstock(NEW YORK) — It is entirely up to Iranian Supreme Leader Ayatollah Khamenei to decide whether the Strait of Hormuz will be shut down, the head of his armed forces declared Sunday.

Major General Hassan Firouzabadi claimed that Tehran already has a plan in place to keep oil flowing from the waterway should the U.S. and Israel threaten its national security.

However, the military’s chief of staff maintained that “executing the plan needs the permission of the Supreme Leader.”

Firouzabadi’s comments came during a gathering of Iran’s vaunted Revolutionary Guard.

Iran has been saying for months that it would shut down the Strait of Hormuz where much of the world’s oil supplies are transported if the international community imposes tougher sanctions because of Tehran’s refusal to makes concessions on its nuclear program.

Despite the threat, the European Union went ahead with its embargo on Iranian oil two weeks ago, which will further hurt Tehran’s economy.

Firouzabadi emphasized, “We don’t want to block the Strait of Hormuz, but we have a plan for closing it, which is a clever and wise one.”

Copyright 2012 ABC News Radio



Stories You May Be Interested In:

6 survivors found after plane crash in Colombia kills 75

Joshua Berlinger, Marilia Brocchetto and Fernando Ramos, CNN

‘Barbaric’: UN officials condemn Syria’s Aleppo bombardment

Evan McKirdy, Tim Hume and James Masters, CNN

Mother Teresa declared a saint before huge crowds in the Vatican

Juliet Perry, Tim Hume and Livia Borghese, CNN