Notice: Undefined variable: mainImageheight  in /var/www/html/mgs/demo2/app/code/local/MGS/Advancedmedia/controllers/IndexController.php on line 16

#0 /var/www/html/mgs/demo2/app/code/local/MGS/Advancedmedia/controllers/IndexController.php(16): mageCoreErrorHandler(8, 'Undefined varia...', '/var/www/html/m...', 16, Array)
#1 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Action.php(419): MGS_Advancedmedia_IndexController->indexAction()
#2 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#3 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#4 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#5 /var/www/html/mgs/demo2/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#6 /var/www/html/mgs/demo2/index.php(87): Mage::run('', 'store')
#7 {main}