Mks_Responsivebannerslider - Version 1.1.5

Version Notes

New Features :-
1. Add Banner Setting (Left Side)
2. Add Banner Effect (slide , fade)
3. User-friendly admin

Download this release

Release Info

Developer mukesh kumar saini
Extension Mks_Responsivebannerslider
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

Files changed (66) hide show
  1. app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13946249653.php +19 -0
  2. app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13946253323.php +19 -0
  3. app/code/community/Mks/Bannerslider/Block/Adminhtml/Bannersliderbackend.php +5 -0
  4. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider.php +17 -0
  5. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit.php +44 -0
  6. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Form.php +17 -0
  7. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Tab/Form.php +48 -0
  8. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Tabs.php +21 -0
  9. app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Grid.php +94 -0
  10. app/code/community/Mks/Bannerslider/Block/Index.php +8 -0
  11. app/code/community/Mks/Bannerslider/Helper/Data.php +5 -0
  12. app/code/community/Mks/Bannerslider/Model/Lightboxslider.php +12 -0
  13. app/code/community/Mks/Bannerslider/Model/Mysql4/Lightboxslider.php +8 -0
  14. app/code/community/Mks/Bannerslider/Model/Mysql4/Lightboxslider/Collection.php +12 -0
  15. app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php +10 -0
  16. app/code/community/Mks/Bannerslider/controllers/Adminhtml/LightboxsliderController.php +209 -0
  17. app/code/community/Mks/Bannerslider/controllers/IndexController.php +22 -0
  18. app/code/community/Mks/Bannerslider/etc/config.xml +134 -0
  19. app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-1.1.2.php +19 -0
  20. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider.php +17 -0
  21. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit.php +44 -0
  22. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Form.php +17 -0
  23. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Tab/Form.php +48 -0
  24. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Tabs.php +21 -0
  25. app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Grid.php +90 -0
  26. app/code/community/Mks/Responsivebannerslider/Block/Index.php +21 -1
  27. app/code/community/Mks/Responsivebannerslider/Model/Mysql4/Responsivebannerslider.php +8 -0
  28. app/code/community/Mks/Responsivebannerslider/Model/Mysql4/Responsivebannerslider/Collection.php +12 -0
  29. app/code/community/Mks/Responsivebannerslider/Model/Responsivebannerslider.php +12 -0
  30. app/code/community/Mks/Responsivebannerslider/controllers/Adminhtml/ResponsivebannersliderController.php +209 -0
  31. app/code/community/Mks/Responsivebannerslider/controllers/IndexController.php +4 -4
  32. app/code/community/Mks/Responsivebannerslider/etc/adminhtml.xml +23 -0
  33. app/code/community/Mks/Responsivebannerslider/etc/config.xml +10 -10
  34. app/code/community/Mks/Responsivebannerslider/etc/system.xml +77 -0
  35. app/code/community/Mks/Responsivebannerslider/sql/responsivebannerslider_setup/mysql4-upgrade-1.1.4-1.1.5.php +16 -0
  36. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator.php +17 -0
  37. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit.php +44 -0
  38. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Form.php +17 -0
  39. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Tab/Form.php +93 -0
  40. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Tabs.php +21 -0
  41. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Grid.php +118 -0
  42. app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocatorbackend.php +5 -0
  43. app/code/community/Mks/Storelocator/Block/Index.php +8 -0
  44. app/code/community/Mks/Storelocator/Helper/Data.php +5 -0
  45. app/code/community/Mks/Storelocator/Model/Mysql4/Storelocator.php +8 -0
  46. app/code/community/Mks/Storelocator/Model/Mysql4/Storelocator/Collection.php +12 -0
  47. app/code/community/Mks/Storelocator/Model/Storelocator.php +12 -0
  48. app/code/community/Mks/Storelocator/controllers/Adminhtml/StorelocatorController.php +253 -0
  49. app/code/community/Mks/Storelocator/controllers/Adminhtml/StorelocatorbackendController.php +10 -0
  50. app/code/community/Mks/Storelocator/controllers/IndexController.php +22 -0
  51. app/code/community/Mks/Storelocator/etc/config.xml +134 -0
  52. app/code/community/Mks/Storelocator/sql/storelocator_setup/mysql4-install-1.1.1.php +18 -0
  53. app/design/adminhtml/default/default/layout/responsivebannerslider.xml +3 -3
  54. app/design/frontend/base/default/layout/responsivebannerslider.xml +1 -1
  55. app/design/frontend/base/default/template/responsivebannerslider/config.phtml +0 -9
  56. app/design/frontend/base/default/template/responsivebannerslider/index.phtml +107 -7
  57. app/etc/modules/Mks_Responsivebannerslider.xml +1 -1
  58. package.xml +8 -5
  59. skin/frontend/base/default/responsiveslider/css/styles-banner.css +72 -0
  60. skin/frontend/base/default/responsiveslider/css/styles.css +3174 -0
  61. skin/frontend/base/default/responsiveslider/css/ultra-slideshow.css +59 -0
  62. skin/frontend/base/default/responsiveslider/js/jquery-1.7.2.min.js +4 -0
  63. skin/frontend/base/default/responsiveslider/js/jquery.easing.min.js +205 -0
  64. skin/frontend/base/default/responsiveslider/js/jquery.flexslider.min.js +1 -0
  65. skin/frontend/base/default/responsiveslider/js/jquery.slides.min.js +7 -0
  66. skin/frontend/base/default/responsiveslider/js/jquery_003.js +1 -1
app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13946249653.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mage_Adminhtml_Model_System_Config_Source_Diyoptions13946249653
3
+ {
4
+
5
+ /**
6
+ * Options getter
7
+ *
8
+ * @return array
9
+ */
10
+ public function toOptionArray()
11
+ {
12
+ return array(
13
+
14
+ array('value' => 1, 'label'=>Mage::helper('adminhtml')->__('Slide (Responsive)')),
15
+ array('value' => 2, 'label'=>Mage::helper('adminhtml')->__('Fade (Responsive)')),
16
+ );
17
+ }
18
+
19
+ }
app/code/community/Mage/Adminhtml/Model/System/Config/Source/Diyoptions13946253323.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mage_Adminhtml_Model_System_Config_Source_Diyoptions13946253323
3
+ {
4
+
5
+ /**
6
+ * Options getter
7
+ *
8
+ * @return array
9
+ */
10
+ public function toOptionArray()
11
+ {
12
+ return array(
13
+
14
+ array('value' => 1, 'label'=>Mage::helper('adminhtml')->__('Slide (Responsive)')),
15
+ array('value' => 2, 'label'=>Mage::helper('adminhtml')->__('Fade (Responsive)')),
16
+ );
17
+ }
18
+
19
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Bannersliderbackend.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Block_Adminhtml_Bannersliderbackend extends Mage_Adminhtml_Block_Template {
4
+
5
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
+
6
+ public function __construct()
7
+ {
8
+
9
+ $this->_controller = "adminhtml_lightboxslider";
10
+ $this->_blockGroup = "bannerslider";
11
+ $this->_headerText = Mage::helper("bannerslider")->__("Lightboxslider Manager");
12
+ $this->_addButtonLabel = Mage::helper("bannerslider")->__("Add New Item");
13
+ parent::__construct();
14
+
15
+ }
16
+
17
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
+ {
5
+ public function __construct()
6
+ {
7
+
8
+ parent::__construct();
9
+ $this->_objectId = "id";
10
+ $this->_blockGroup = "bannerslider";
11
+ $this->_controller = "adminhtml_lightboxslider";
12
+ $this->_updateButton("save", "label", Mage::helper("bannerslider")->__("Save Item"));
13
+ $this->_updateButton("delete", "label", Mage::helper("bannerslider")->__("Delete Item"));
14
+
15
+ $this->_addButton("saveandcontinue", array(
16
+ "label" => Mage::helper("bannerslider")->__("Save And Continue Edit"),
17
+ "onclick" => "saveAndContinueEdit()",
18
+ "class" => "save",
19
+ ), -100);
20
+
21
+
22
+
23
+ $this->_formScripts[] = "
24
+
25
+ function saveAndContinueEdit(){
26
+ editForm.submit($('edit_form').action+'back/edit/');
27
+ }
28
+ ";
29
+ }
30
+
31
+ public function getHeaderText()
32
+ {
33
+ if( Mage::registry("lightboxslider_data") && Mage::registry("lightboxslider_data")->getId() ){
34
+
35
+ return Mage::helper("bannerslider")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("lightboxslider_data")->getId()));
36
+
37
+ }
38
+ else{
39
+
40
+ return Mage::helper("bannerslider")->__("Add Item");
41
+
42
+ }
43
+ }
44
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Form.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+ $form = new Varien_Data_Form(array(
7
+ "id" => "edit_form",
8
+ "action" => $this->getUrl("*/*/save", array("id" => $this->getRequest()->getParam("id"))),
9
+ "method" => "post",
10
+ "enctype" =>"multipart/form-data",
11
+ )
12
+ );
13
+ $form->setUseContainer(true);
14
+ $this->setForm($form);
15
+ return parent::_prepareForm();
16
+ }
17
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Tab/Form.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+
7
+ $form = new Varien_Data_Form();
8
+ $this->setForm($form);
9
+ $fieldset = $form->addFieldset("bannerslider_form", array("legend"=>Mage::helper("bannerslider")->__("Item information")));
10
+
11
+
12
+ $fieldset->addField("title", "text", array(
13
+ "label" => Mage::helper("bannerslider")->__("Title"),
14
+ "name" => "title",
15
+ ));
16
+
17
+ $fieldset->addField('image', 'image', array(
18
+ 'label' => Mage::helper('bannerslider')->__('Image'),
19
+ 'name' => 'image',
20
+ 'note' => '(*.jpg, *.png, *.gif)',
21
+ ));
22
+ $fieldset->addField("url", "text", array(
23
+ "label" => Mage::helper("bannerslider")->__("Url"),
24
+ "name" => "url",
25
+ ));
26
+
27
+ $fieldset->addField("description", "text", array(
28
+ "label" => Mage::helper("bannerslider")->__("Description"),
29
+ "name" => "description",
30
+ ));
31
+
32
+ $fieldset->addField('status', 'select', array(
33
+ 'label' => Mage::helper('bannerslider')->__('Status'),
34
+ 'values' => Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Grid::getValueArray4(),
35
+ 'name' => 'status',
36
+ ));
37
+
38
+ if (Mage::getSingleton("adminhtml/session")->getLightboxsliderData())
39
+ {
40
+ $form->setValues(Mage::getSingleton("adminhtml/session")->getLightboxsliderData());
41
+ Mage::getSingleton("adminhtml/session")->setLightboxsliderData(null);
42
+ }
43
+ elseif(Mage::registry("lightboxslider_data")) {
44
+ $form->setValues(Mage::registry("lightboxslider_data")->getData());
45
+ }
46
+ return parent::_prepareForm();
47
+ }
48
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Edit/Tabs.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
+ {
4
+ public function __construct()
5
+ {
6
+ parent::__construct();
7
+ $this->setId("lightboxslider_tabs");
8
+ $this->setDestElementId("edit_form");
9
+ $this->setTitle(Mage::helper("bannerslider")->__("Item Information"));
10
+ }
11
+ protected function _beforeToHtml()
12
+ {
13
+ $this->addTab("form_section", array(
14
+ "label" => Mage::helper("bannerslider")->__("Item Information"),
15
+ "title" => Mage::helper("bannerslider")->__("Item Information"),
16
+ "content" => $this->getLayout()->createBlock("bannerslider/adminhtml_lightboxslider_edit_tab_form")->toHtml(),
17
+ ));
18
+ return parent::_beforeToHtml();
19
+ }
20
+
21
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/Lightboxslider/Grid.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+
6
+ public function __construct()
7
+ {
8
+ parent::__construct();
9
+ $this->setId("lightboxsliderGrid");
10
+ $this->setDefaultSort("id");
11
+ $this->setDefaultDir("ASC");
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $collection = Mage::getModel("bannerslider/lightboxslider")->getCollection();
18
+ $this->setCollection($collection);
19
+ return parent::_prepareCollection();
20
+ }
21
+ protected function _prepareColumns()
22
+ {
23
+ $this->addColumn("id", array(
24
+ "header" => Mage::helper("bannerslider")->__("ID"),
25
+ "align" =>"right",
26
+ "width" => "50px",
27
+ "type" => "number",
28
+ "index" => "id",
29
+ ));
30
+
31
+ $this->addColumn("title", array(
32
+ "header" => Mage::helper("bannerslider")->__("Title"),
33
+ "index" => "title",
34
+ ));
35
+ $this->addColumn("url", array(
36
+ "header" => Mage::helper("bannerslider")->__("Url"),
37
+ "index" => "url",
38
+ ));
39
+ $this->addColumn("description", array(
40
+ "header" => Mage::helper("bannerslider")->__("Description"),
41
+ "index" => "description",
42
+ ));
43
+ $this->addColumn('status', array(
44
+ 'header' => Mage::helper('bannerslider')->__('Status'),
45
+ 'index' => 'status',
46
+ 'type' => 'options',
47
+ 'options'=>Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Grid::getOptionArray4(),
48
+ ));
49
+
50
+ $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
51
+ $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
52
+
53
+ return parent::_prepareColumns();
54
+ }
55
+
56
+ public function getRowUrl($row)
57
+ {
58
+ return $this->getUrl("*/*/edit", array("id" => $row->getId()));
59
+ }
60
+
61
+
62
+
63
+ protected function _prepareMassaction()
64
+ {
65
+ $this->setMassactionIdField('id');
66
+ $this->getMassactionBlock()->setFormFieldName('ids');
67
+ $this->getMassactionBlock()->setUseSelectAll(true);
68
+ $this->getMassactionBlock()->addItem('remove_lightboxslider', array(
69
+ 'label'=> Mage::helper('bannerslider')->__('Remove Lightboxslider'),
70
+ 'url' => $this->getUrl('*/adminhtml_lightboxslider/massRemove'),
71
+ 'confirm' => Mage::helper('bannerslider')->__('Are you sure?')
72
+ ));
73
+ return $this;
74
+ }
75
+
76
+ static public function getOptionArray4()
77
+ {
78
+ $data_array=array();
79
+ $data_array[0]='Yes';
80
+ $data_array[1]='No';
81
+ return($data_array);
82
+ }
83
+ static public function getValueArray4()
84
+ {
85
+ $data_array=array();
86
+ foreach(Mks_Bannerslider_Block_Adminhtml_Lightboxslider_Grid::getOptionArray4() as $k=>$v){
87
+ $data_array[]=array('value'=>$k,'label'=>$v);
88
+ }
89
+ return($data_array);
90
+
91
+ }
92
+
93
+
94
+ }
app/code/community/Mks/Bannerslider/Block/Index.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Block_Index extends Mage_Core_Block_Template{
3
+
4
+
5
+
6
+
7
+
8
+ }
app/code/community/Mks/Bannerslider/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+
app/code/community/Mks/Bannerslider/Model/Lightboxslider.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Model_Lightboxslider extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("bannerslider/lightboxslider");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/community/Mks/Bannerslider/Model/Mysql4/Lightboxslider.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Model_Mysql4_Lightboxslider extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("bannerslider/lightboxslider", "id");
7
+ }
8
+ }
app/code/community/Mks/Bannerslider/Model/Mysql4/Lightboxslider/Collection.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Model_Mysql4_Lightboxslider_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+
5
+ public function _construct(){
6
+ $this->_init("bannerslider/lightboxslider");
7
+ }
8
+
9
+
10
+
11
+ }
12
+
app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Adminhtml_BannersliderbackendController extends Mage_Adminhtml_Controller_Action
3
+ {
4
+ public function indexAction()
5
+ {
6
+ $this->loadLayout();
7
+ $this->_title($this->__("Backend Page Title"));
8
+ $this->renderLayout();
9
+ }
10
+ }
app/code/community/Mks/Bannerslider/controllers/Adminhtml/LightboxsliderController.php ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Adminhtml_LightboxsliderController extends Mage_Adminhtml_Controller_Action
4
+ {
5
+ protected function _initAction()
6
+ {
7
+ $this->loadLayout()->_setActiveMenu("bannerslider/lightboxslider")->_addBreadcrumb(Mage::helper("adminhtml")->__("Lightboxslider Manager"),Mage::helper("adminhtml")->__("Lightboxslider Manager"));
8
+ return $this;
9
+ }
10
+ public function indexAction()
11
+ {
12
+ $this->_title($this->__("Bannerslider"));
13
+ $this->_title($this->__("Manager Lightboxslider"));
14
+
15
+ $this->_initAction();
16
+ $this->renderLayout();
17
+ }
18
+ public function editAction()
19
+ {
20
+ $this->_title($this->__("Bannerslider"));
21
+ $this->_title($this->__("Lightboxslider"));
22
+ $this->_title($this->__("Edit Item"));
23
+
24
+ $id = $this->getRequest()->getParam("id");
25
+ $model = Mage::getModel("bannerslider/lightboxslider")->load($id);
26
+ if ($model->getId()) {
27
+ Mage::register("lightboxslider_data", $model);
28
+ $this->loadLayout();
29
+ $this->_setActiveMenu("bannerslider/lightboxslider");
30
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Lightboxslider Manager"), Mage::helper("adminhtml")->__("Lightboxslider Manager"));
31
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Lightboxslider Description"), Mage::helper("adminhtml")->__("Lightboxslider Description"));
32
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
+ $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_lightboxslider_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_lightboxslider_edit_tabs"));
34
+ $this->renderLayout();
35
+ }
36
+ else {
37
+ Mage::getSingleton("adminhtml/session")->addError(Mage::helper("bannerslider")->__("Item does not exist."));
38
+ $this->_redirect("*/*/");
39
+ }
40
+ }
41
+
42
+ public function newAction()
43
+ {
44
+
45
+ $this->_title($this->__("Bannerslider"));
46
+ $this->_title($this->__("Lightboxslider"));
47
+ $this->_title($this->__("New Item"));
48
+
49
+ $id = $this->getRequest()->getParam("id");
50
+ $model = Mage::getModel("bannerslider/lightboxslider")->load($id);
51
+
52
+ $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
+ if (!empty($data)) {
54
+ $model->setData($data);
55
+ }
56
+
57
+ Mage::register("lightboxslider_data", $model);
58
+
59
+ $this->loadLayout();
60
+ $this->_setActiveMenu("bannerslider/lightboxslider");
61
+
62
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
+
64
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Lightboxslider Manager"), Mage::helper("adminhtml")->__("Lightboxslider Manager"));
65
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Lightboxslider Description"), Mage::helper("adminhtml")->__("Lightboxslider Description"));
66
+
67
+
68
+ $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_lightboxslider_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_lightboxslider_edit_tabs"));
69
+
70
+ $this->renderLayout();
71
+
72
+ }
73
+ public function saveAction()
74
+ {
75
+
76
+ $post_data=$this->getRequest()->getPost();
77
+
78
+
79
+ if ($post_data) {
80
+
81
+ try {
82
+
83
+
84
+ //save image
85
+ try{
86
+
87
+ if((bool)$post_data['image']['delete']==1) {
88
+
89
+ $post_data['image']='';
90
+
91
+ }
92
+ else {
93
+
94
+ unset($post_data['image']);
95
+
96
+ if (isset($_FILES)){
97
+
98
+ if ($_FILES['image']['name']) {
99
+
100
+ if($this->getRequest()->getParam("id")){
101
+ $model = Mage::getModel("bannerslider/lightboxslider")->load($this->getRequest()->getParam("id"));
102
+ if($model->getData('image')){
103
+ $io = new Varien_Io_File();
104
+ $io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('image'))));
105
+ }
106
+ }
107
+ $path = Mage::getBaseDir('media') . DS . 'bannerslider' . DS .'lightboxslider'.DS;
108
+ $uploader = new Varien_File_Uploader('image');
109
+ $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
+ $uploader->setAllowRenameFiles(false);
111
+ $uploader->setFilesDispersion(false);
112
+ $destFile = $path.$_FILES['image']['name'];
113
+ $filename = $uploader->getNewFileName($destFile);
114
+ $uploader->save($path, $filename);
115
+
116
+ $post_data['image']='bannerslider/lightboxslider/'.$filename;
117
+ }
118
+ }
119
+ }
120
+
121
+ } catch (Exception $e) {
122
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
123
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
124
+ return;
125
+ }
126
+ //save image
127
+
128
+
129
+ $model = Mage::getModel("bannerslider/lightboxslider")
130
+ ->addData($post_data)
131
+ ->setId($this->getRequest()->getParam("id"))
132
+ ->save();
133
+
134
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Lightboxslider was successfully saved"));
135
+ Mage::getSingleton("adminhtml/session")->setLightboxsliderData(false);
136
+
137
+ if ($this->getRequest()->getParam("back")) {
138
+ $this->_redirect("*/*/edit", array("id" => $model->getId()));
139
+ return;
140
+ }
141
+ $this->_redirect("*/*/");
142
+ return;
143
+ }
144
+ catch (Exception $e) {
145
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
146
+ Mage::getSingleton("adminhtml/session")->setLightboxsliderData($this->getRequest()->getPost());
147
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
148
+ return;
149
+ }
150
+
151
+ }
152
+ $this->_redirect("*/*/");
153
+ }
154
+
155
+
156
+
157
+ public function deleteAction()
158
+ {
159
+ if( $this->getRequest()->getParam("id") > 0 ) {
160
+ try {
161
+ $model = Mage::getModel("bannerslider/lightboxslider");
162
+ $model->setId($this->getRequest()->getParam("id"))->delete();
163
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
164
+ $this->_redirect("*/*/");
165
+ }
166
+ catch (Exception $e) {
167
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
168
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
169
+ }
170
+ }
171
+ $this->_redirect("*/*/");
172
+ }
173
+
174
+
175
+ public function massRemoveAction()
176
+ {
177
+ try {
178
+ $ids = $this->getRequest()->getPost('ids', array());
179
+ foreach ($ids as $id) {
180
+ $model = Mage::getModel("bannerslider/lightboxslider");
181
+ $model->setId($id)->delete();
182
+ }
183
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
184
+ }
185
+ catch (Exception $e) {
186
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
187
+ }
188
+ $this->_redirect('*/*/');
189
+ }
190
+
191
+ /**
192
+ * Export order grid to CSV format
193
+ */
194
+ public function exportCsvAction()
195
+ {
196
+ $fileName = 'lightboxslider.csv';
197
+ $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_lightboxslider_grid');
198
+ $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
199
+ }
200
+ /**
201
+ * Export order grid to Excel XML format
202
+ */
203
+ public function exportExcelAction()
204
+ {
205
+ $fileName = 'lightboxslider.xml';
206
+ $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_lightboxslider_grid');
207
+ $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
208
+ }
209
+ }
app/code/community/Mks/Bannerslider/controllers/IndexController.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_IndexController extends Mage_Core_Controller_Front_Action{
3
+ public function IndexAction() {
4
+
5
+ $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Titlename"));
7
+ $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
+ $breadcrumbs->addCrumb("home", array(
9
+ "label" => $this->__("Home Page"),
10
+ "title" => $this->__("Home Page"),
11
+ "link" => Mage::getBaseUrl()
12
+ ));
13
+
14
+ $breadcrumbs->addCrumb("titlename", array(
15
+ "label" => $this->__("Titlename"),
16
+ "title" => $this->__("Titlename")
17
+ ));
18
+
19
+ $this->renderLayout();
20
+
21
+ }
22
+ }
app/code/community/Mks/Bannerslider/etc/config.xml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Mks_Bannerslider>
5
+ <version>1.1.2</version>
6
+ </Mks_Bannerslider>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <bannerslider>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Mks_Bannerslider</module>
14
+ <frontName>bannerslider</frontName>
15
+ </args>
16
+ </bannerslider>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <bannerslider>
21
+ <file>bannerslider.xml</file>
22
+ </bannerslider>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <helpers>
28
+ <bannerslider>
29
+ <class>Mks_Bannerslider_Helper</class>
30
+ </bannerslider>
31
+ </helpers>
32
+ <blocks>
33
+ <bannerslider>
34
+ <class>Mks_Bannerslider_Block</class>
35
+ </bannerslider>
36
+ </blocks>
37
+ <models>
38
+ <bannerslider>
39
+ <class>Mks_Bannerslider_Model</class>
40
+ <resourceModel>bannerslider_mysql4</resourceModel>
41
+ </bannerslider>
42
+ <bannerslider_mysql4>
43
+ <class>Mks_Bannerslider_Model_Mysql4</class>
44
+ <entities>
45
+ <lightboxslider>
46
+ <table>mkslightboxslider</table>
47
+ </lightboxslider>
48
+ </entities>
49
+ </bannerslider_mysql4>
50
+ </models>
51
+ <resources>
52
+ <bannerslider_setup>
53
+ <setup>
54
+ <module>Mks_Bannerslider</module>
55
+ </setup>
56
+ <connection>
57
+ <use>core_setup</use>
58
+ </connection>
59
+ </bannerslider_setup>
60
+ <bannerslider_write>
61
+ <connection>
62
+ <use>core_write</use>
63
+ </connection>
64
+ </bannerslider_write>
65
+ <bannerslider_read>
66
+ <connection>
67
+ <use>core_read</use>
68
+ </connection>
69
+ </bannerslider_read>
70
+ </resources>
71
+ </global>
72
+ <admin>
73
+ <routers>
74
+ <bannerslider>
75
+ <use>admin</use>
76
+ <args>
77
+ <module>Mks_Bannerslider</module>
78
+ <frontName>bannerslider</frontName>
79
+ </args>
80
+ </bannerslider>
81
+ </routers>
82
+ </admin>
83
+ <adminhtml>
84
+ <menu>
85
+ <bannerslider module="bannerslider">
86
+ <title>Bannerslider</title>
87
+ <sort_order>100</sort_order>
88
+ <children>
89
+ <bannersliderbackend module="bannerslider">
90
+ <title>Backend Page Title</title>
91
+ <sort_order>0</sort_order>
92
+ <action>bannerslider/adminhtml_bannersliderbackend</action>
93
+ </bannersliderbackend>
94
+ <lightboxslider module="bannerslider">
95
+ <title>Manage Lightboxslider</title>
96
+ <sort_order>0</sort_order>
97
+ <action>bannerslider/adminhtml_lightboxslider</action>
98
+ </lightboxslider>
99
+ </children>
100
+ </bannerslider>
101
+ </menu>
102
+ <acl>
103
+ <resources>
104
+ <all>
105
+ <title>Allow Everything</title>
106
+ </all>
107
+ <admin>
108
+ <children>
109
+ <bannerslider translate="title" module="bannerslider">
110
+ <title>Bannerslider</title>
111
+ <sort_order>1000</sort_order>
112
+ <children>
113
+ <bannersliderbackend translate="title">
114
+ <title>Backend Page Title</title>
115
+ </bannersliderbackend>
116
+ <lightboxslider translate="title">
117
+ <title>Manage Lightboxslider</title>
118
+ <sort_order>0</sort_order>
119
+ </lightboxslider>
120
+ </children>
121
+ </bannerslider>
122
+ </children>
123
+ </admin>
124
+ </resources>
125
+ </acl>
126
+ <layout>
127
+ <updates>
128
+ <bannerslider>
129
+ <file>bannerslider.xml</file>
130
+ </bannerslider>
131
+ </updates>
132
+ </layout>
133
+ </adminhtml>
134
+ </config>
app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-1.1.2.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ $sql=<<<SQLTEXT
5
+ create table {$this->getTable('mkslightboxslider')}(id int not null auto_increment, title varchar(255), image varchar(255), url varchar(255), category varchar(100), description varchar(255),primary key(id));
6
+
7
+ INSERT INTO {$this->getTable('mkslightboxslider')} (`title`,`image`,`url`,`description`,`status`) VALUES
8
+ ('Slider 1','responsivebannerslider/bannerslider/1.jpg','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','Banner 1','0'),
9
+ ('Slider 2','responsivebannerslider/bannerslider/2.jpg','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','Banner 2','0'),
10
+ ('Slider 3','responsivebannerslider/bannerslider/3.jpg','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','Banner 3','0');
11
+
12
+ SQLTEXT;
13
+
14
+ $installer->run($sql);
15
+ //demo
16
+ Mage::getModel('core/url_rewrite')->setId(null);
17
+ //demo
18
+ $installer->endSetup();
19
+
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
+
6
+ public function __construct()
7
+ {
8
+
9
+ $this->_controller = "adminhtml_responsivebannerslider";
10
+ $this->_blockGroup = "responsivebannerslider";
11
+ $this->_headerText = Mage::helper("responsivebannerslider")->__("Responsivebannerslider Manager");
12
+ $this->_addButtonLabel = Mage::helper("responsivebannerslider")->__("Add New Item");
13
+ parent::__construct();
14
+
15
+ }
16
+
17
+ }
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
+ {
5
+ public function __construct()
6
+ {
7
+
8
+ parent::__construct();
9
+ $this->_objectId = "id";
10
+ $this->_blockGroup = "responsivebannerslider";
11
+ $this->_controller = "adminhtml_responsivebannerslider";
12
+ $this->_updateButton("save", "label", Mage::helper("responsivebannerslider")->__("Save Item"));
13
+ $this->_updateButton("delete", "label", Mage::helper("responsivebannerslider")->__("Delete Item"));
14
+
15
+ $this->_addButton("saveandcontinue", array(
16
+ "label" => Mage::helper("responsivebannerslider")->__("Save And Continue Edit"),
17
+ "onclick" => "saveAndContinueEdit()",
18
+ "class" => "save",
19
+ ), -100);
20
+
21
+
22
+
23
+ $this->_formScripts[] = "
24
+
25
+ function saveAndContinueEdit(){
26
+ editForm.submit($('edit_form').action+'back/edit/');
27
+ }
28
+ ";
29
+ }
30
+
31
+ public function getHeaderText()
32
+ {
33
+ if( Mage::registry("responsivebannerslider_data") && Mage::registry("responsivebannerslider_data")->getId() ){
34
+
35
+ return Mage::helper("responsivebannerslider")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("responsivebannerslider_data")->getId()));
36
+
37
+ }
38
+ else{
39
+
40
+ return Mage::helper("responsivebannerslider")->__("Add Item");
41
+
42
+ }
43
+ }
44
+ }
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Form.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+ $form = new Varien_Data_Form(array(
7
+ "id" => "edit_form",
8
+ "action" => $this->getUrl("*/*/save", array("id" => $this->getRequest()->getParam("id"))),
9
+ "method" => "post",
10
+ "enctype" =>"multipart/form-data",
11
+ )
12
+ );
13
+ $form->setUseContainer(true);
14
+ $this->setForm($form);
15
+ return parent::_prepareForm();
16
+ }
17
+ }
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Tab/Form.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+
7
+ $form = new Varien_Data_Form();
8
+ $this->setForm($form);
9
+ $fieldset = $form->addFieldset("responsivebannerslider_form", array("legend"=>Mage::helper("responsivebannerslider")->__("Item information")));
10
+
11
+
12
+ $fieldset->addField("title", "text", array(
13
+ "label" => Mage::helper("responsivebannerslider")->__("Title"),
14
+ "name" => "title",
15
+ ));
16
+
17
+ $fieldset->addField('image', 'image', array(
18
+ 'label' => Mage::helper('responsivebannerslider')->__('Image'),
19
+ 'name' => 'image',
20
+ 'note' => '(*.jpg, *.png, *.gif)',
21
+ ));
22
+ $fieldset->addField("description", "textarea", array(
23
+ "label" => Mage::helper("responsivebannerslider")->__("Description"),
24
+ "name" => "description",
25
+ ));
26
+
27
+ $fieldset->addField("url", "text", array(
28
+ "label" => Mage::helper("responsivebannerslider")->__("URL"),
29
+ "name" => "url",
30
+ ));
31
+
32
+ $fieldset->addField('status', 'select', array(
33
+ 'label' => Mage::helper('responsivebannerslider')->__('Status'),
34
+ 'values' => Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Grid::getValueArray4(),
35
+ 'name' => 'status',
36
+ ));
37
+
38
+ if (Mage::getSingleton("adminhtml/session")->getResponsivebannersliderData())
39
+ {
40
+ $form->setValues(Mage::getSingleton("adminhtml/session")->getResponsivebannersliderData());
41
+ Mage::getSingleton("adminhtml/session")->setResponsivebannersliderData(null);
42
+ }
43
+ elseif(Mage::registry("responsivebannerslider_data")) {
44
+ $form->setValues(Mage::registry("responsivebannerslider_data")->getData());
45
+ }
46
+ return parent::_prepareForm();
47
+ }
48
+ }
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Edit/Tabs.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
+ {
4
+ public function __construct()
5
+ {
6
+ parent::__construct();
7
+ $this->setId("responsivebannerslider_tabs");
8
+ $this->setDestElementId("edit_form");
9
+ $this->setTitle(Mage::helper("responsivebannerslider")->__("Item Information"));
10
+ }
11
+ protected function _beforeToHtml()
12
+ {
13
+ $this->addTab("form_section", array(
14
+ "label" => Mage::helper("responsivebannerslider")->__("Item Information"),
15
+ "title" => Mage::helper("responsivebannerslider")->__("Item Information"),
16
+ "content" => $this->getLayout()->createBlock("responsivebannerslider/adminhtml_responsivebannerslider_edit_tab_form")->toHtml(),
17
+ ));
18
+ return parent::_beforeToHtml();
19
+ }
20
+
21
+ }
app/code/community/Mks/Responsivebannerslider/Block/Adminhtml/Responsivebannerslider/Grid.php ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+
6
+ public function __construct()
7
+ {
8
+ parent::__construct();
9
+ $this->setId("responsivebannersliderGrid");
10
+ $this->setDefaultSort("id");
11
+ $this->setDefaultDir("DESC");
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $collection = Mage::getModel("responsivebannerslider/responsivebannerslider")->getCollection();
18
+ $this->setCollection($collection);
19
+ return parent::_prepareCollection();
20
+ }
21
+ protected function _prepareColumns()
22
+ {
23
+ $this->addColumn("id", array(
24
+ "header" => Mage::helper("responsivebannerslider")->__("ID"),
25
+ "align" =>"right",
26
+ "width" => "50px",
27
+ "type" => "number",
28
+ "index" => "id",
29
+ ));
30
+
31
+ $this->addColumn("title", array(
32
+ "header" => Mage::helper("responsivebannerslider")->__("Title"),
33
+ "index" => "title",
34
+ ));
35
+ $this->addColumn("url", array(
36
+ "header" => Mage::helper("responsivebannerslider")->__("URL"),
37
+ "index" => "url",
38
+ ));
39
+ $this->addColumn('status', array(
40
+ 'header' => Mage::helper('responsivebannerslider')->__('Status'),
41
+ 'index' => 'status',
42
+ 'type' => 'options',
43
+ 'options'=>Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Grid::getOptionArray4(),
44
+ ));
45
+
46
+ $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
47
+ $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
48
+
49
+ return parent::_prepareColumns();
50
+ }
51
+
52
+ public function getRowUrl($row)
53
+ {
54
+ return $this->getUrl("*/*/edit", array("id" => $row->getId()));
55
+ }
56
+
57
+
58
+
59
+ protected function _prepareMassaction()
60
+ {
61
+ $this->setMassactionIdField('id');
62
+ $this->getMassactionBlock()->setFormFieldName('ids');
63
+ $this->getMassactionBlock()->setUseSelectAll(true);
64
+ $this->getMassactionBlock()->addItem('remove_responsivebannerslider', array(
65
+ 'label'=> Mage::helper('responsivebannerslider')->__('Remove Responsivebannerslider'),
66
+ 'url' => $this->getUrl('*/adminhtml_responsivebannerslider/massRemove'),
67
+ 'confirm' => Mage::helper('responsivebannerslider')->__('Are you sure?')
68
+ ));
69
+ return $this;
70
+ }
71
+
72
+ static public function getOptionArray4()
73
+ {
74
+ $data_array=array();
75
+ $data_array[0]='Enable';
76
+ $data_array[1]='Disable';
77
+ return($data_array);
78
+ }
79
+ static public function getValueArray4()
80
+ {
81
+ $data_array=array();
82
+ foreach(Mks_Responsivebannerslider_Block_Adminhtml_Responsivebannerslider_Grid::getOptionArray4() as $k=>$v){
83
+ $data_array[]=array('value'=>$k,'label'=>$v);
84
+ }
85
+ return($data_array);
86
+
87
+ }
88
+
89
+
90
+ }
app/code/community/Mks/Responsivebannerslider/Block/Index.php CHANGED
@@ -3,6 +3,26 @@ class Mks_Responsivebannerslider_Block_Index extends Mage_Core_Block_Template{
3
 
4
 
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
 
8
- }
3
 
4
 
5
 
6
+ public function getResponsivebannersliderEnabled()
7
+ {
8
+ return Mage::getStoreConfig('general_setting/banner_setting/baner_eanble',Mage::app()->getStore());
9
+ }
10
+ public function getResponsivebannersliderSpeed()
11
+ {
12
+ return Mage::getStoreConfig('general_setting/banner_setting/slide_speed',Mage::app()->getStore());
13
+ }
14
+ public function getResponsivebannerBannerLoop()
15
+ {
16
+ return Mage::getStoreConfig('general_setting/banner_setting/banner_loop',Mage::app()->getStore());
17
+ }
18
+ public function getResponsivebannerSlideType()
19
+ {
20
+ return Mage::getStoreConfig('general_setting/banner_setting/slide_type',Mage::app()->getStore());
21
+ }
22
+ public function getResponsivebannerPauseOnhover()
23
+ {
24
+ return Mage::getStoreConfig('general_setting/banner_setting/pauseonhover',Mage::app()->getStore());
25
+ }
26
 
27
 
28
+ }
app/code/community/Mks/Responsivebannerslider/Model/Mysql4/Responsivebannerslider.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Responsivebannerslider_Model_Mysql4_Responsivebannerslider extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("responsivebannerslider/responsivebannerslider", "id");
7
+ }
8
+ }
app/code/community/Mks/Responsivebannerslider/Model/Mysql4/Responsivebannerslider/Collection.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Responsivebannerslider_Model_Mysql4_Responsivebannerslider_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+
5
+ public function _construct(){
6
+ $this->_init("responsivebannerslider/responsivebannerslider");
7
+ }
8
+
9
+
10
+
11
+ }
12
+
app/code/community/Mks/Responsivebannerslider/Model/Responsivebannerslider.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Responsivebannerslider_Model_Responsivebannerslider extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("responsivebannerslider/responsivebannerslider");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/community/Mks/Responsivebannerslider/controllers/Adminhtml/ResponsivebannersliderController.php ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Responsivebannerslider_Adminhtml_ResponsivebannersliderController extends Mage_Adminhtml_Controller_Action
4
+ {
5
+ protected function _initAction()
6
+ {
7
+ $this->loadLayout()->_setActiveMenu("responsivebannerslider/responsivebannerslider")->_addBreadcrumb(Mage::helper("adminhtml")->__("Responsivebannerslider Manager"),Mage::helper("adminhtml")->__("Responsivebannerslider Manager"));
8
+ return $this;
9
+ }
10
+ public function indexAction()
11
+ {
12
+ $this->_title($this->__("Responsivebannerslider"));
13
+ $this->_title($this->__("Manager Responsivebannerslider"));
14
+
15
+ $this->_initAction();
16
+ $this->renderLayout();
17
+ }
18
+ public function editAction()
19
+ {
20
+ $this->_title($this->__("Responsivebannerslider"));
21
+ $this->_title($this->__("Responsivebannerslider"));
22
+ $this->_title($this->__("Edit Item"));
23
+
24
+ $id = $this->getRequest()->getParam("id");
25
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider")->load($id);
26
+ if ($model->getId()) {
27
+ Mage::register("responsivebannerslider_data", $model);
28
+ $this->loadLayout();
29
+ $this->_setActiveMenu("responsivebannerslider/responsivebannerslider");
30
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Responsivebannerslider Manager"), Mage::helper("adminhtml")->__("Responsivebannerslider Manager"));
31
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Responsivebannerslider Description"), Mage::helper("adminhtml")->__("Responsivebannerslider Description"));
32
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
+ $this->_addContent($this->getLayout()->createBlock("responsivebannerslider/adminhtml_responsivebannerslider_edit"))->_addLeft($this->getLayout()->createBlock("responsivebannerslider/adminhtml_responsivebannerslider_edit_tabs"));
34
+ $this->renderLayout();
35
+ }
36
+ else {
37
+ Mage::getSingleton("adminhtml/session")->addError(Mage::helper("responsivebannerslider")->__("Item does not exist."));
38
+ $this->_redirect("*/*/");
39
+ }
40
+ }
41
+
42
+ public function newAction()
43
+ {
44
+
45
+ $this->_title($this->__("Responsivebannerslider"));
46
+ $this->_title($this->__("Responsivebannerslider"));
47
+ $this->_title($this->__("New Item"));
48
+
49
+ $id = $this->getRequest()->getParam("id");
50
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider")->load($id);
51
+
52
+ $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
+ if (!empty($data)) {
54
+ $model->setData($data);
55
+ }
56
+
57
+ Mage::register("responsivebannerslider_data", $model);
58
+
59
+ $this->loadLayout();
60
+ $this->_setActiveMenu("responsivebannerslider/responsivebannerslider");
61
+
62
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
+
64
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Responsivebannerslider Manager"), Mage::helper("adminhtml")->__("Responsivebannerslider Manager"));
65
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Responsivebannerslider Description"), Mage::helper("adminhtml")->__("Responsivebannerslider Description"));
66
+
67
+
68
+ $this->_addContent($this->getLayout()->createBlock("responsivebannerslider/adminhtml_responsivebannerslider_edit"))->_addLeft($this->getLayout()->createBlock("responsivebannerslider/adminhtml_responsivebannerslider_edit_tabs"));
69
+
70
+ $this->renderLayout();
71
+
72
+ }
73
+ public function saveAction()
74
+ {
75
+
76
+ $post_data=$this->getRequest()->getPost();
77
+
78
+
79
+ if ($post_data) {
80
+
81
+ try {
82
+
83
+
84
+ //save image
85
+ try{
86
+
87
+ if((bool)$post_data['image']['delete']==1) {
88
+
89
+ $post_data['image']='';
90
+
91
+ }
92
+ else {
93
+
94
+ unset($post_data['image']);
95
+
96
+ if (isset($_FILES)){
97
+
98
+ if ($_FILES['image']['name']) {
99
+
100
+ if($this->getRequest()->getParam("id")){
101
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider")->load($this->getRequest()->getParam("id"));
102
+ if($model->getData('image')){
103
+ $io = new Varien_Io_File();
104
+ $io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('image'))));
105
+ }
106
+ }
107
+ $path = Mage::getBaseDir('media') . DS . 'responsivebannerslider' . DS .'responsivebannerslider'.DS;
108
+ $uploader = new Varien_File_Uploader('image');
109
+ $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
+ $uploader->setAllowRenameFiles(false);
111
+ $uploader->setFilesDispersion(false);
112
+ $destFile = $path.$_FILES['image']['name'];
113
+ $filename = $uploader->getNewFileName($destFile);
114
+ $uploader->save($path, $filename);
115
+
116
+ $post_data['image']='responsivebannerslider/responsivebannerslider/'.$filename;
117
+ }
118
+ }
119
+ }
120
+
121
+ } catch (Exception $e) {
122
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
123
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
124
+ return;
125
+ }
126
+ //save image
127
+
128
+
129
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider")
130
+ ->addData($post_data)
131
+ ->setId($this->getRequest()->getParam("id"))
132
+ ->save();
133
+
134
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Responsivebannerslider was successfully saved"));
135
+ Mage::getSingleton("adminhtml/session")->setResponsivebannersliderData(false);
136
+
137
+ if ($this->getRequest()->getParam("back")) {
138
+ $this->_redirect("*/*/edit", array("id" => $model->getId()));
139
+ return;
140
+ }
141
+ $this->_redirect("*/*/");
142
+ return;
143
+ }
144
+ catch (Exception $e) {
145
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
146
+ Mage::getSingleton("adminhtml/session")->setResponsivebannersliderData($this->getRequest()->getPost());
147
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
148
+ return;
149
+ }
150
+
151
+ }
152
+ $this->_redirect("*/*/");
153
+ }
154
+
155
+
156
+
157
+ public function deleteAction()
158
+ {
159
+ if( $this->getRequest()->getParam("id") > 0 ) {
160
+ try {
161
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider");
162
+ $model->setId($this->getRequest()->getParam("id"))->delete();
163
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
164
+ $this->_redirect("*/*/");
165
+ }
166
+ catch (Exception $e) {
167
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
168
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
169
+ }
170
+ }
171
+ $this->_redirect("*/*/");
172
+ }
173
+
174
+
175
+ public function massRemoveAction()
176
+ {
177
+ try {
178
+ $ids = $this->getRequest()->getPost('ids', array());
179
+ foreach ($ids as $id) {
180
+ $model = Mage::getModel("responsivebannerslider/responsivebannerslider");
181
+ $model->setId($id)->delete();
182
+ }
183
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
184
+ }
185
+ catch (Exception $e) {
186
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
187
+ }
188
+ $this->_redirect('*/*/');
189
+ }
190
+
191
+ /**
192
+ * Export order grid to CSV format
193
+ */
194
+ public function exportCsvAction()
195
+ {
196
+ $fileName = 'responsivebannerslider.csv';
197
+ $grid = $this->getLayout()->createBlock('responsivebannerslider/adminhtml_responsivebannerslider_grid');
198
+ $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
199
+ }
200
+ /**
201
+ * Export order grid to Excel XML format
202
+ */
203
+ public function exportExcelAction()
204
+ {
205
+ $fileName = 'responsivebannerslider.xml';
206
+ $grid = $this->getLayout()->createBlock('responsivebannerslider/adminhtml_responsivebannerslider_grid');
207
+ $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
208
+ }
209
+ }
app/code/community/Mks/Responsivebannerslider/controllers/IndexController.php CHANGED
@@ -3,7 +3,7 @@ class Mks_Responsivebannerslider_IndexController extends Mage_Core_Controller_Fr
3
  public function IndexAction() {
4
 
5
  $this->loadLayout();
6
- $this->getLayout()->getBlock("head")->setTitle($this->__("banner slider"));
7
  $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
  $breadcrumbs->addCrumb("home", array(
9
  "label" => $this->__("Home Page"),
@@ -11,9 +11,9 @@ class Mks_Responsivebannerslider_IndexController extends Mage_Core_Controller_Fr
11
  "link" => Mage::getBaseUrl()
12
  ));
13
 
14
- $breadcrumbs->addCrumb("banner slider", array(
15
- "label" => $this->__("banner slider"),
16
- "title" => $this->__("banner slider")
17
  ));
18
 
19
  $this->renderLayout();
3
  public function IndexAction() {
4
 
5
  $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Responsive banner slider"));
7
  $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
  $breadcrumbs->addCrumb("home", array(
9
  "label" => $this->__("Home Page"),
11
  "link" => Mage::getBaseUrl()
12
  ));
13
 
14
+ $breadcrumbs->addCrumb("responsive banner slider", array(
15
+ "label" => $this->__("Responsive banner slider"),
16
+ "title" => $this->__("Responsive banner slider")
17
  ));
18
 
19
  $this->renderLayout();
app/code/community/Mks/Responsivebannerslider/etc/adminhtml.xml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <general_setting translate="title" module="responsivebannerslider">
12
+ <title>General Setting Section</title>
13
+ <sort_order>0</sort_order>
14
+ </general_setting>
15
+ </children>
16
+ </config>
17
+ </children>
18
+ </system>
19
+ </children>
20
+ </admin>
21
+ </resources>
22
+ </acl>
23
+ </config>
app/code/community/Mks/Responsivebannerslider/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mks_Responsivebannerslider>
5
- <version>1.1.1</version>
6
  </Mks_Responsivebannerslider>
7
  </modules>
8
  <frontend>
@@ -42,9 +42,9 @@
42
  <responsivebannerslider_mysql4>
43
  <class>Mks_Responsivebannerslider_Model_Mysql4</class>
44
  <entities>
45
- <bannerslider>
46
  <table>mksresponsivebannerslider</table>
47
- </bannerslider>
48
  </entities>
49
  </responsivebannerslider_mysql4>
50
  </models>
@@ -91,11 +91,11 @@
91
  <sort_order>0</sort_order>
92
  <action>responsivebannerslider/adminhtml_responsivebannersliderbackend</action>
93
  </responsivebannersliderbackend>
94
- <bannerslider module="responsivebannerslider">
95
- <title>Manage Bannerslider</title>
96
  <sort_order>0</sort_order>
97
- <action>responsivebannerslider/adminhtml_bannerslider</action>
98
- </bannerslider>
99
  </children>
100
  </responsivebannerslider>
101
  </menu>
@@ -113,10 +113,10 @@
113
  <responsivebannersliderbackend translate="title">
114
  <title>About Us</title>
115
  </responsivebannersliderbackend>
116
- <bannerslider translate="title">
117
- <title>Manage Bannerslider</title>
118
  <sort_order>0</sort_order>
119
- </bannerslider>
120
  </children>
121
  </responsivebannerslider>
122
  </children>
2
  <config>
3
  <modules>
4
  <Mks_Responsivebannerslider>
5
+ <version>1.1.4</version>
6
  </Mks_Responsivebannerslider>
7
  </modules>
8
  <frontend>
42
  <responsivebannerslider_mysql4>
43
  <class>Mks_Responsivebannerslider_Model_Mysql4</class>
44
  <entities>
45
+ <responsivebannerslider>
46
  <table>mksresponsivebannerslider</table>
47
+ </responsivebannerslider>
48
  </entities>
49
  </responsivebannerslider_mysql4>
50
  </models>
91
  <sort_order>0</sort_order>
92
  <action>responsivebannerslider/adminhtml_responsivebannersliderbackend</action>
93
  </responsivebannersliderbackend>
94
+ <responsivebannerslider module="responsivebannerslider">
95
+ <title>Manage Responsivebannerslider</title>
96
  <sort_order>0</sort_order>
97
+ <action>responsivebannerslider/adminhtml_responsivebannerslider</action>
98
+ </responsivebannerslider>
99
  </children>
100
  </responsivebannerslider>
101
  </menu>
113
  <responsivebannersliderbackend translate="title">
114
  <title>About Us</title>
115
  </responsivebannersliderbackend>
116
+ <responsivebannerslider translate="title">
117
+ <title>Manage Responsivebannerslider</title>
118
  <sort_order>0</sort_order>
119
+ </responsivebannerslider>
120
  </children>
121
  </responsivebannerslider>
122
  </children>
app/code/community/Mks/Responsivebannerslider/etc/system.xml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <mks_responsivebannersetting translate="label" module="responsivebannerslider">
5
+ <label>Mks_Responsive Baner</label>
6
+ <sort_order>0</sort_order>
7
+ </mks_responsivebannersetting>
8
+ </tabs>
9
+ <sections>
10
+ <general_setting translate="label" module="responsivebannerslider">
11
+ <label>General Setting</label>
12
+ <tab>mks_responsivebannersetting</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>0</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <banner_setting translate="label">
20
+ <label>Banner Setting</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <baner_eanble translate="label">
28
+ <label>Enable </label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
31
+ <sort_order>0</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </baner_eanble>
36
+ <slide_speed translate="label">
37
+ <label>Slide Speed</label>
38
+ <frontend_type>text</frontend_type>
39
+ <sort_order>0</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ <comment>Example : 500</comment>
44
+ </slide_speed>
45
+ <banner_loop translate="label">
46
+ <label>Banner Loop</label>
47
+ <frontend_type>select</frontend_type>
48
+ <source_model>adminhtml/system_config_source_yesno</source_model>
49
+ <sort_order>0</sort_order>
50
+ <show_in_default>1</show_in_default>
51
+ <show_in_website>1</show_in_website>
52
+ <show_in_store>1</show_in_store>
53
+ </banner_loop>
54
+ <slide_type translate="label">
55
+ <label>Style Type </label>
56
+ <frontend_type>select</frontend_type>
57
+ <source_model>adminhtml/system_config_source_Diyoptions13946253323</source_model>
58
+ <sort_order>0</sort_order>
59
+ <show_in_default>1</show_in_default>
60
+ <show_in_website>1</show_in_website>
61
+ <show_in_store>1</show_in_store>
62
+ </slide_type>
63
+ <pauseonhover translate="label">
64
+ <label>Pause OnHover</label>
65
+ <frontend_type>select</frontend_type>
66
+ <source_model>adminhtml/system_config_source_yesno</source_model>
67
+ <sort_order>0</sort_order>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>1</show_in_store>
71
+ </pauseonhover>
72
+ </fields>
73
+ </banner_setting>
74
+ </groups>
75
+ </general_setting>
76
+ </sections>
77
+ </config>
app/code/community/Mks/Responsivebannerslider/sql/responsivebannerslider_setup/mysql4-upgrade-1.1.4-1.1.5.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ $sql=<<<SQLTEXT
5
+ create table {$this->getTable('mksresponsivebannerslider')} (id int not null auto_increment, title varchar(255),image varchar(255),description varchar(255),status varchar(255), primary key(id));
6
+
7
+ INSERT INTO {$this->getTable('mksresponsivebannerslider')} (`title`,`image`,`description`,`status`) VALUES ('Responsive Banner Slider 1','responsivebannerslider/bannerslider/banner-1.jpg','Responsive Banner Slider 1','0'),('Responsive Banner Slider 2','responsivebannerslider/bannerslider/banner-2.jpg','Responsive Banner Slider 2','0'),
8
+ ('Responsive Banner Slider 3','responsivebannerslider/bannerslider/banner-3.jpg','Responsive Banner Slider 3','0');
9
+ SQLTEXT;
10
+
11
+ $installer->run($sql);
12
+ //demo
13
+ Mage::getModel('core/url_rewrite')->setId(null);
14
+ //demo
15
+ $installer->endSetup();
16
+
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Mks_Storelocator_Block_Adminhtml_Storelocator extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
+
6
+ public function __construct()
7
+ {
8
+
9
+ $this->_controller = "adminhtml_storelocator";
10
+ $this->_blockGroup = "storelocator";
11
+ $this->_headerText = Mage::helper("storelocator")->__("Storelocator Manager");
12
+ $this->_addButtonLabel = Mage::helper("storelocator")->__("Add New Item");
13
+ parent::__construct();
14
+
15
+ }
16
+
17
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Storelocator_Block_Adminhtml_Storelocator_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
+ {
5
+ public function __construct()
6
+ {
7
+
8
+ parent::__construct();
9
+ $this->_objectId = "id";
10
+ $this->_blockGroup = "storelocator";
11
+ $this->_controller = "adminhtml_storelocator";
12
+ $this->_updateButton("save", "label", Mage::helper("storelocator")->__("Save Item"));
13
+ $this->_updateButton("delete", "label", Mage::helper("storelocator")->__("Delete Item"));
14
+
15
+ $this->_addButton("saveandcontinue", array(
16
+ "label" => Mage::helper("storelocator")->__("Save And Continue Edit"),
17
+ "onclick" => "saveAndContinueEdit()",
18
+ "class" => "save",
19
+ ), -100);
20
+
21
+
22
+
23
+ $this->_formScripts[] = "
24
+
25
+ function saveAndContinueEdit(){
26
+ editForm.submit($('edit_form').action+'back/edit/');
27
+ }
28
+ ";
29
+ }
30
+
31
+ public function getHeaderText()
32
+ {
33
+ if( Mage::registry("storelocator_data") && Mage::registry("storelocator_data")->getId() ){
34
+
35
+ return Mage::helper("storelocator")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("storelocator_data")->getId()));
36
+
37
+ }
38
+ else{
39
+
40
+ return Mage::helper("storelocator")->__("Add Item");
41
+
42
+ }
43
+ }
44
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Form.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Block_Adminhtml_Storelocator_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+ $form = new Varien_Data_Form(array(
7
+ "id" => "edit_form",
8
+ "action" => $this->getUrl("*/*/save", array("id" => $this->getRequest()->getParam("id"))),
9
+ "method" => "post",
10
+ "enctype" =>"multipart/form-data",
11
+ )
12
+ );
13
+ $form->setUseContainer(true);
14
+ $this->setForm($form);
15
+ return parent::_prepareForm();
16
+ }
17
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Tab/Form.php ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Block_Adminhtml_Storelocator_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+
7
+ $form = new Varien_Data_Form();
8
+ $this->setForm($form);
9
+ $fieldset = $form->addFieldset("storelocator_form", array("legend"=>Mage::helper("storelocator")->__("Item information")));
10
+
11
+
12
+ $fieldset->addField("name", "text", array(
13
+ "label" => Mage::helper("storelocator")->__("Name"),
14
+ "name" => "name",
15
+ ));
16
+
17
+ $fieldset->addField("address", "textarea", array(
18
+ "label" => Mage::helper("storelocator")->__("Address"),
19
+ "name" => "address",
20
+ ));
21
+
22
+ $fieldset->addField("zipcode", "text", array(
23
+ "label" => Mage::helper("storelocator")->__("Zipcode"),
24
+ "name" => "zipcode",
25
+ ));
26
+
27
+ $fieldset->addField("city", "text", array(
28
+ "label" => Mage::helper("storelocator")->__("City"),
29
+ "name" => "city",
30
+ ));
31
+
32
+ $fieldset->addField("country_id", "text", array(
33
+ "label" => Mage::helper("storelocator")->__("Country Name"),
34
+ "name" => "country_id",
35
+ ));
36
+
37
+ $fieldset->addField("phone", "text", array(
38
+ "label" => Mage::helper("storelocator")->__("Phone"),
39
+ "name" => "phone",
40
+ ));
41
+
42
+ $fieldset->addField("fax", "text", array(
43
+ "label" => Mage::helper("storelocator")->__("Fax"),
44
+ "name" => "fax",
45
+ ));
46
+
47
+ $fieldset->addField("description", "textarea", array(
48
+ "label" => Mage::helper("storelocator")->__("Description"),
49
+ "name" => "description",
50
+ ));
51
+
52
+ $fieldset->addField("store_url", "text", array(
53
+ "label" => Mage::helper("storelocator")->__("Store Url"),
54
+ "name" => "store_url",
55
+ ));
56
+
57
+ $fieldset->addField('image', 'image', array(
58
+ 'label' => Mage::helper('storelocator')->__('Image'),
59
+ 'name' => 'image',
60
+ 'note' => '(*.jpg, *.png, *.gif)',
61
+ ));
62
+ $fieldset->addField('marker', 'image', array(
63
+ 'label' => Mage::helper('storelocator')->__('Marker Image'),
64
+ 'name' => 'marker',
65
+ 'note' => '(*.jpg, *.png, *.gif)',
66
+ ));
67
+ $fieldset->addField("lat", "text", array(
68
+ "label" => Mage::helper("storelocator")->__("Latitude"),
69
+ "name" => "lat",
70
+ ));
71
+
72
+ $fieldset->addField("longt", "text", array(
73
+ "label" => Mage::helper("storelocator")->__("Longitude"),
74
+ "name" => "longt",
75
+ ));
76
+
77
+ $fieldset->addField('status', 'select', array(
78
+ 'label' => Mage::helper('storelocator')->__('Status'),
79
+ 'values' => Mks_Storelocator_Block_Adminhtml_Storelocator_Grid::getValueArray13(),
80
+ 'name' => 'status',
81
+ ));
82
+
83
+ if (Mage::getSingleton("adminhtml/session")->getStorelocatorData())
84
+ {
85
+ $form->setValues(Mage::getSingleton("adminhtml/session")->getStorelocatorData());
86
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData(null);
87
+ }
88
+ elseif(Mage::registry("storelocator_data")) {
89
+ $form->setValues(Mage::registry("storelocator_data")->getData());
90
+ }
91
+ return parent::_prepareForm();
92
+ }
93
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Edit/Tabs.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Block_Adminhtml_Storelocator_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
+ {
4
+ public function __construct()
5
+ {
6
+ parent::__construct();
7
+ $this->setId("storelocator_tabs");
8
+ $this->setDestElementId("edit_form");
9
+ $this->setTitle(Mage::helper("storelocator")->__("Item Information"));
10
+ }
11
+ protected function _beforeToHtml()
12
+ {
13
+ $this->addTab("form_section", array(
14
+ "label" => Mage::helper("storelocator")->__("Item Information"),
15
+ "title" => Mage::helper("storelocator")->__("Item Information"),
16
+ "content" => $this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tab_form")->toHtml(),
17
+ ));
18
+ return parent::_beforeToHtml();
19
+ }
20
+
21
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocator/Grid.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Storelocator_Block_Adminhtml_Storelocator_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+
6
+ public function __construct()
7
+ {
8
+ parent::__construct();
9
+ $this->setId("storelocatorGrid");
10
+ $this->setDefaultSort("id");
11
+ $this->setDefaultDir("ASC");
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $collection = Mage::getModel("storelocator/storelocator")->getCollection();
18
+ $this->setCollection($collection);
19
+ return parent::_prepareCollection();
20
+ }
21
+ protected function _prepareColumns()
22
+ {
23
+ $this->addColumn("id", array(
24
+ "header" => Mage::helper("storelocator")->__("ID"),
25
+ "align" =>"right",
26
+ "width" => "50px",
27
+ "type" => "number",
28
+ "index" => "id",
29
+ ));
30
+
31
+ $this->addColumn("name", array(
32
+ "header" => Mage::helper("storelocator")->__("Name"),
33
+ "index" => "name",
34
+ ));
35
+ $this->addColumn("zipcode", array(
36
+ "header" => Mage::helper("storelocator")->__("Zipcode"),
37
+ "index" => "zipcode",
38
+ ));
39
+ $this->addColumn("city", array(
40
+ "header" => Mage::helper("storelocator")->__("City"),
41
+ "index" => "city",
42
+ ));
43
+ $this->addColumn("country_id", array(
44
+ "header" => Mage::helper("storelocator")->__("Country Name"),
45
+ "index" => "country_id",
46
+ ));
47
+ $this->addColumn("phone", array(
48
+ "header" => Mage::helper("storelocator")->__("Phone"),
49
+ "index" => "phone",
50
+ ));
51
+ $this->addColumn("fax", array(
52
+ "header" => Mage::helper("storelocator")->__("Fax"),
53
+ "index" => "fax",
54
+ ));
55
+ $this->addColumn("store_url", array(
56
+ "header" => Mage::helper("storelocator")->__("Store Url"),
57
+ "index" => "store_url",
58
+ ));
59
+ $this->addColumn("lat", array(
60
+ "header" => Mage::helper("storelocator")->__("Latitude"),
61
+ "index" => "lat",
62
+ ));
63
+ $this->addColumn("longt", array(
64
+ "header" => Mage::helper("storelocator")->__("Longitude"),
65
+ "index" => "longt",
66
+ ));
67
+ $this->addColumn('status', array(
68
+ 'header' => Mage::helper('storelocator')->__('Status'),
69
+ 'index' => 'status',
70
+ 'type' => 'options',
71
+ 'options'=>Mks_Storelocator_Block_Adminhtml_Storelocator_Grid::getOptionArray13(),
72
+ ));
73
+
74
+ $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
75
+ $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
76
+
77
+ return parent::_prepareColumns();
78
+ }
79
+
80
+ public function getRowUrl($row)
81
+ {
82
+ return $this->getUrl("*/*/edit", array("id" => $row->getId()));
83
+ }
84
+
85
+
86
+
87
+ protected function _prepareMassaction()
88
+ {
89
+ $this->setMassactionIdField('id');
90
+ $this->getMassactionBlock()->setFormFieldName('ids');
91
+ $this->getMassactionBlock()->setUseSelectAll(true);
92
+ $this->getMassactionBlock()->addItem('remove_storelocator', array(
93
+ 'label'=> Mage::helper('storelocator')->__('Remove Storelocator'),
94
+ 'url' => $this->getUrl('*/adminhtml_storelocator/massRemove'),
95
+ 'confirm' => Mage::helper('storelocator')->__('Are you sure?')
96
+ ));
97
+ return $this;
98
+ }
99
+
100
+ static public function getOptionArray13()
101
+ {
102
+ $data_array=array();
103
+ $data_array[0]='Yes';
104
+ $data_array[1]='No';
105
+ return($data_array);
106
+ }
107
+ static public function getValueArray13()
108
+ {
109
+ $data_array=array();
110
+ foreach(Mks_Storelocator_Block_Adminhtml_Storelocator_Grid::getOptionArray13() as $k=>$v){
111
+ $data_array[]=array('value'=>$k,'label'=>$v);
112
+ }
113
+ return($data_array);
114
+
115
+ }
116
+
117
+
118
+ }
app/code/community/Mks/Storelocator/Block/Adminhtml/Storelocatorbackend.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Storelocator_Block_Adminhtml_Storelocatorbackend extends Mage_Adminhtml_Block_Template {
4
+
5
+ }
app/code/community/Mks/Storelocator/Block/Index.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Block_Index extends Mage_Core_Block_Template{
3
+
4
+
5
+
6
+
7
+
8
+ }
app/code/community/Mks/Storelocator/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+
app/code/community/Mks/Storelocator/Model/Mysql4/Storelocator.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Model_Mysql4_Storelocator extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("storelocator/storelocator", "id");
7
+ }
8
+ }
app/code/community/Mks/Storelocator/Model/Mysql4/Storelocator/Collection.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Model_Mysql4_Storelocator_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+
5
+ public function _construct(){
6
+ $this->_init("storelocator/storelocator");
7
+ }
8
+
9
+
10
+
11
+ }
12
+
app/code/community/Mks/Storelocator/Model/Storelocator.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Storelocator_Model_Storelocator extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("storelocator/storelocator");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/community/Mks/Storelocator/controllers/Adminhtml/StorelocatorController.php ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Storelocator_Adminhtml_StorelocatorController extends Mage_Adminhtml_Controller_Action
4
+ {
5
+ protected function _initAction()
6
+ {
7
+ $this->loadLayout()->_setActiveMenu("storelocator/storelocator")->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"),Mage::helper("adminhtml")->__("Storelocator Manager"));
8
+ return $this;
9
+ }
10
+ public function indexAction()
11
+ {
12
+ $this->_title($this->__("Storelocator"));
13
+ $this->_title($this->__("Manager Storelocator"));
14
+
15
+ $this->_initAction();
16
+ $this->renderLayout();
17
+ }
18
+ public function editAction()
19
+ {
20
+ $this->_title($this->__("Storelocator"));
21
+ $this->_title($this->__("Storelocator"));
22
+ $this->_title($this->__("Edit Item"));
23
+
24
+ $id = $this->getRequest()->getParam("id");
25
+ $model = Mage::getModel("storelocator/storelocator")->load($id);
26
+ if ($model->getId()) {
27
+ Mage::register("storelocator_data", $model);
28
+ $this->loadLayout();
29
+ $this->_setActiveMenu("storelocator/storelocator");
30
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"), Mage::helper("adminhtml")->__("Storelocator Manager"));
31
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Description"), Mage::helper("adminhtml")->__("Storelocator Description"));
32
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
+ $this->_addContent($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit"))->_addLeft($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tabs"));
34
+ $this->renderLayout();
35
+ }
36
+ else {
37
+ Mage::getSingleton("adminhtml/session")->addError(Mage::helper("storelocator")->__("Item does not exist."));
38
+ $this->_redirect("*/*/");
39
+ }
40
+ }
41
+
42
+ public function newAction()
43
+ {
44
+
45
+ $this->_title($this->__("Storelocator"));
46
+ $this->_title($this->__("Storelocator"));
47
+ $this->_title($this->__("New Item"));
48
+
49
+ $id = $this->getRequest()->getParam("id");
50
+ $model = Mage::getModel("storelocator/storelocator")->load($id);
51
+
52
+ $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
+ if (!empty($data)) {
54
+ $model->setData($data);
55
+ }
56
+
57
+ Mage::register("storelocator_data", $model);
58
+
59
+ $this->loadLayout();
60
+ $this->_setActiveMenu("storelocator/storelocator");
61
+
62
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
+
64
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"), Mage::helper("adminhtml")->__("Storelocator Manager"));
65
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Description"), Mage::helper("adminhtml")->__("Storelocator Description"));
66
+
67
+
68
+ $this->_addContent($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit"))->_addLeft($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tabs"));
69
+
70
+ $this->renderLayout();
71
+
72
+ }
73
+ public function saveAction()
74
+ {
75
+
76
+ $post_data=$this->getRequest()->getPost();
77
+
78
+
79
+ if ($post_data) {
80
+
81
+ try {
82
+
83
+
84
+ //save image
85
+ try{
86
+
87
+ if((bool)$post_data['image']['delete']==1) {
88
+
89
+ $post_data['image']='';
90
+
91
+ }
92
+ else {
93
+
94
+ unset($post_data['image']);
95
+
96
+ if (isset($_FILES)){
97
+
98
+ if ($_FILES['image']['name']) {
99
+
100
+ if($this->getRequest()->getParam("id")){
101
+ $model = Mage::getModel("storelocator/storelocator")->load($this->getRequest()->getParam("id"));
102
+ if($model->getData('image')){
103
+ $io = new Varien_Io_File();
104
+ $io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('image'))));
105
+ }
106
+ }
107
+ $path = Mage::getBaseDir('media') . DS . 'storelocator' . DS .'storelocator'.DS;
108
+ $uploader = new Varien_File_Uploader('image');
109
+ $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
+ $uploader->setAllowRenameFiles(false);
111
+ $uploader->setFilesDispersion(false);
112
+ $destFile = $path.$_FILES['image']['name'];
113
+ $filename = $uploader->getNewFileName($destFile);
114
+ $uploader->save($path, $filename);
115
+
116
+ $post_data['image']='storelocator/storelocator/'.$filename;
117
+ }
118
+ }
119
+ }
120
+
121
+ } catch (Exception $e) {
122
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
123
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
124
+ return;
125
+ }
126
+ //save image
127
+
128
+ //save image
129
+ try{
130
+
131
+ if((bool)$post_data['marker']['delete']==1) {
132
+
133
+ $post_data['marker']='';
134
+
135
+ }
136
+ else {
137
+
138
+ unset($post_data['marker']);
139
+
140
+ if (isset($_FILES)){
141
+
142
+ if ($_FILES['marker']['name']) {
143
+
144
+ if($this->getRequest()->getParam("id")){
145
+ $model = Mage::getModel("storelocator/storelocator")->load($this->getRequest()->getParam("id"));
146
+ if($model->getData('marker')){
147
+ $io = new Varien_Io_File();
148
+ $io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('marker'))));
149
+ }
150
+ }
151
+ $path = Mage::getBaseDir('media') . DS . 'storelocator' . DS .'storelocator'.DS;
152
+ $uploader = new Varien_File_Uploader('marker');
153
+ $uploader->setAllowedExtensions(array('jpg','png','gif'));
154
+ $uploader->setAllowRenameFiles(false);
155
+ $uploader->setFilesDispersion(false);
156
+ $destFile = $path.$_FILES['marker']['name'];
157
+ $filename = $uploader->getNewFileName($destFile);
158
+ $uploader->save($path, $filename);
159
+
160
+ $post_data['marker']='storelocator/storelocator/'.$filename;
161
+ }
162
+ }
163
+ }
164
+
165
+ } catch (Exception $e) {
166
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
167
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
168
+ return;
169
+ }
170
+ //save image
171
+
172
+
173
+ $model = Mage::getModel("storelocator/storelocator")
174
+ ->addData($post_data)
175
+ ->setId($this->getRequest()->getParam("id"))
176
+ ->save();
177
+
178
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Storelocator was successfully saved"));
179
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData(false);
180
+
181
+ if ($this->getRequest()->getParam("back")) {
182
+ $this->_redirect("*/*/edit", array("id" => $model->getId()));
183
+ return;
184
+ }
185
+ $this->_redirect("*/*/");
186
+ return;
187
+ }
188
+ catch (Exception $e) {
189
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
190
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData($this->getRequest()->getPost());
191
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
192
+ return;
193
+ }
194
+
195
+ }
196
+ $this->_redirect("*/*/");
197
+ }
198
+
199
+
200
+
201
+ public function deleteAction()
202
+ {
203
+ if( $this->getRequest()->getParam("id") > 0 ) {
204
+ try {
205
+ $model = Mage::getModel("storelocator/storelocator");
206
+ $model->setId($this->getRequest()->getParam("id"))->delete();
207
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
208
+ $this->_redirect("*/*/");
209
+ }
210
+ catch (Exception $e) {
211
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
212
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
213
+ }
214
+ }
215
+ $this->_redirect("*/*/");
216
+ }
217
+
218
+
219
+ public function massRemoveAction()
220
+ {
221
+ try {
222
+ $ids = $this->getRequest()->getPost('ids', array());
223
+ foreach ($ids as $id) {
224
+ $model = Mage::getModel("storelocator/storelocator");
225
+ $model->setId($id)->delete();
226
+ }
227
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
228
+ }
229
+ catch (Exception $e) {
230
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
231
+ }
232
+ $this->_redirect('*/*/');
233
+ }
234
+
235
+ /**
236
+ * Export order grid to CSV format
237
+ */
238
+ public function exportCsvAction()
239
+ {
240
+ $fileName = 'storelocator.csv';
241
+ $grid = $this->getLayout()->createBlock('storelocator/adminhtml_storelocator_grid');
242
+ $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
243
+ }
244
+ /**
245
+ * Export order grid to Excel XML format
246
+ */
247
+ public function exportExcelAction()
248
+ {
249
+ $fileName = 'storelocator.xml';
250
+ $grid = $this->getLayout()->createBlock('storelocator/adminhtml_storelocator_grid');
251
+ $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
252
+ }
253
+ }
app/code/community/Mks/Storelocator/controllers/Adminhtml/StorelocatorbackendController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_Adminhtml_StorelocatorbackendController extends Mage_Adminhtml_Controller_Action
3
+ {
4
+ public function indexAction()
5
+ {
6
+ $this->loadLayout();
7
+ $this->_title($this->__("About us"));
8
+ $this->renderLayout();
9
+ }
10
+ }
app/code/community/Mks/Storelocator/controllers/IndexController.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Storelocator_IndexController extends Mage_Core_Controller_Front_Action{
3
+ public function IndexAction() {
4
+
5
+ $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Storelocator"));
7
+ $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
+ $breadcrumbs->addCrumb("home", array(
9
+ "label" => $this->__("Home Page"),
10
+ "title" => $this->__("Home Page"),
11
+ "link" => Mage::getBaseUrl()
12
+ ));
13
+
14
+ $breadcrumbs->addCrumb("storelocator", array(
15
+ "label" => $this->__("Storelocator"),
16
+ "title" => $this->__("Storelocator")
17
+ ));
18
+
19
+ $this->renderLayout();
20
+
21
+ }
22
+ }
app/code/community/Mks/Storelocator/etc/config.xml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Mks_Storelocator>
5
+ <version>1.1.1</version>
6
+ </Mks_Storelocator>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <storelocator>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Mks_Storelocator</module>
14
+ <frontName>storelocator</frontName>
15
+ </args>
16
+ </storelocator>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <storelocator>
21
+ <file>storelocator.xml</file>
22
+ </storelocator>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <helpers>
28
+ <storelocator>
29
+ <class>Mks_Storelocator_Helper</class>
30
+ </storelocator>
31
+ </helpers>
32
+ <blocks>
33
+ <storelocator>
34
+ <class>Mks_Storelocator_Block</class>
35
+ </storelocator>
36
+ </blocks>
37
+ <models>
38
+ <storelocator>
39
+ <class>Mks_Storelocator_Model</class>
40
+ <resourceModel>storelocator_mysql4</resourceModel>
41
+ </storelocator>
42
+ <storelocator_mysql4>
43
+ <class>Mks_Storelocator_Model_Mysql4</class>
44
+ <entities>
45
+ <storelocator>
46
+ <table>mksstorelocator</table>
47
+ </storelocator>
48
+ </entities>
49
+ </storelocator_mysql4>
50
+ </models>
51
+ <resources>
52
+ <storelocator_setup>
53
+ <setup>
54
+ <module>Mks_Storelocator</module>
55
+ </setup>
56
+ <connection>
57
+ <use>core_setup</use>
58
+ </connection>
59
+ </storelocator_setup>
60
+ <storelocator_write>
61
+ <connection>
62
+ <use>core_write</use>
63
+ </connection>
64
+ </storelocator_write>
65
+ <storelocator_read>
66
+ <connection>
67
+ <use>core_read</use>
68
+ </connection>
69
+ </storelocator_read>
70
+ </resources>
71
+ </global>
72
+ <admin>
73
+ <routers>
74
+ <storelocator>
75
+ <use>admin</use>
76
+ <args>
77
+ <module>Mks_Storelocator</module>
78
+ <frontName>storelocator</frontName>
79
+ </args>
80
+ </storelocator>
81
+ </routers>
82
+ </admin>
83
+ <adminhtml>
84
+ <menu>
85
+ <storelocator module="storelocator">
86
+ <title>Storelocator</title>
87
+ <sort_order>100</sort_order>
88
+ <children>
89
+ <storelocatorbackend module="storelocator">
90
+ <title>About us</title>
91
+ <sort_order>0</sort_order>
92
+ <action>storelocator/adminhtml_storelocatorbackend</action>
93
+ </storelocatorbackend>
94
+ <storelocator module="storelocator">
95
+ <title>Manage Storelocator</title>
96
+ <sort_order>0</sort_order>
97
+ <action>storelocator/adminhtml_storelocator</action>
98
+ </storelocator>
99
+ </children>
100
+ </storelocator>
101
+ </menu>
102
+ <acl>
103
+ <resources>
104
+ <all>
105
+ <title>Allow Everything</title>
106
+ </all>
107
+ <admin>
108
+ <children>
109
+ <storelocator translate="title" module="storelocator">
110
+ <title>Storelocator</title>
111
+ <sort_order>1000</sort_order>
112
+ <children>
113
+ <storelocatorbackend translate="title">
114
+ <title>About us</title>
115
+ </storelocatorbackend>
116
+ <storelocator translate="title">
117
+ <title>Manage Storelocator</title>
118
+ <sort_order>0</sort_order>
119
+ </storelocator>
120
+ </children>
121
+ </storelocator>
122
+ </children>
123
+ </admin>
124
+ </resources>
125
+ </acl>
126
+ <layout>
127
+ <updates>
128
+ <storelocator>
129
+ <file>storelocator.xml</file>
130
+ </storelocator>
131
+ </updates>
132
+ </layout>
133
+ </adminhtml>
134
+ </config>
app/code/community/Mks/Storelocator/sql/storelocator_setup/mysql4-install-1.1.1.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ $sql=<<<SQLTEXT
5
+ create table {$this->getTable('mksstorelocator')} (id int not null auto_increment, name varchar(100), address varchar(255),zipcode varchar(100),city varchar(100),country_id varchar(100),phone varchar(100),fax varchar(100),description varchar(255),store_url varchar(100),image varchar(100),marker varchar(100),lat varchar(100),longt varchar(100),status varchar(100),primary key(id));
6
+
7
+ INSERT INTO {$this->getTable('mksstorelocator')} (`name`, `address`, `zipcode`, `city`, `country_id`, `phone`, `fax`, `description`, `store_url`, `image`, `lat`, `longt`, `status`) VALUES ('Malviya Nagar','Malviya Nagar Rajasthan (India)','302018','jaipur','india','8764226568','xxxxx','Malviya Nagar Rajasthan (India) ','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','storelocator/storelocator/map1.jpg','26.857126400000000000','75.812719900000050000','0'),
8
+ ('Karachi Sindh','Karachi Sindh Pakistan','302018','Karachi','Pakistan','8764226568','xxxxx','Karachi Sindh Pakistan ','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','storelocator/storelocator/map2.jpg','24.893379000000000000','67.028060900000010000','0'),
9
+ ('New York NY','New York NY United States','302018','New York','United States','8764226568','xxxxx','New York NY United States ','http://www.magentocommerce.com/magento-connect/developer/mukeshsaini','storelocator/storelocator/map3.jpg','40.714352800000000000','-74.005973100000000000','0');
10
+
11
+ SQLTEXT;
12
+
13
+ $installer->run($sql);
14
+ //demo
15
+ Mage::getModel('core/url_rewrite')->setId(null);
16
+ //demo
17
+ $installer->endSetup();
18
+
app/design/adminhtml/default/default/layout/responsivebannerslider.xml CHANGED
@@ -5,9 +5,9 @@
5
  <block type="responsivebannerslider/adminhtml_responsivebannersliderbackend" name="responsivebannersliderbackend" template="responsivebannerslider/responsivebannersliderbackend.phtml"/>
6
  </reference>
7
  </responsivebannerslider_adminhtml_responsivebannersliderbackend_index>
8
- <responsivebannerslider_adminhtml_bannerslider_index>
9
  <reference name="content">
10
- <block type="responsivebannerslider/adminhtml_bannerslider" name="bannerslider" />
11
  </reference>
12
- </responsivebannerslider_adminhtml_bannerslider_index>
13
  </layout>
5
  <block type="responsivebannerslider/adminhtml_responsivebannersliderbackend" name="responsivebannersliderbackend" template="responsivebannerslider/responsivebannersliderbackend.phtml"/>
6
  </reference>
7
  </responsivebannerslider_adminhtml_responsivebannersliderbackend_index>
8
+ <responsivebannerslider_adminhtml_responsivebannerslider_index>
9
  <reference name="content">
10
+ <block type="responsivebannerslider/adminhtml_responsivebannerslider" name="responsivebannerslider" />
11
  </reference>
12
+ </responsivebannerslider_adminhtml_responsivebannerslider_index>
13
  </layout>
app/design/frontend/base/default/layout/responsivebannerslider.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <layout version="1.1.1">
3
  <responsivebannerslider_index_index>
4
  <reference name="root">
5
  <action method="setTemplate"><template>page/1column.phtml</template></action>
1
  <?xml version="1.0"?>
2
+ <layout version="1.1.4">
3
  <responsivebannerslider_index_index>
4
  <reference name="root">
5
  <action method="setTemplate"><template>page/1column.phtml</template></action>
app/design/frontend/base/default/template/responsivebannerslider/config.phtml DELETED
@@ -1,9 +0,0 @@
1
- <?php $cssurl = str_replace('index.php/','',$this->getUrl());?>
2
- <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/generic-nav.css'; ?>" media="all">
3
- <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/grid12.css'; ?>" media="all">
4
- <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery-1.js'; ?>"></script>
5
- <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery-noconflict.js'; ?>"></script>
6
- <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery_004.js'; ?>"></script>
7
- <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery_003.js'; ?>"></script>
8
-
9
-
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/responsivebannerslider/index.phtml CHANGED
@@ -1,4 +1,33 @@
1
- <?php require_once 'app/design/frontend/base/default/template/responsivebannerslider/config.phtml'; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
3
 
4
 
@@ -38,7 +67,6 @@ $imgurl=$media_url.$urlx;
38
 
39
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
40
 
41
-
42
  <script type="text/javascript">
43
  //<![CDATA[
44
  //jQuery(function($) {
@@ -48,25 +76,97 @@ namespace:"",
48
  animation:'fade',
49
  easing:'easeInOutCirc',
50
  useCSS: false,
51
- animationLoop:0,
52
  smoothHeight: true,
53
- slideshowSpeed:5000,
54
  animationSpeed: 600,
55
- pauseOnHover:1
56
  });
57
  });
58
  //]]>
59
  </script>
60
 
 
 
 
61
 
62
 
63
 
 
 
 
64
 
65
 
66
 
67
 
68
-
69
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
 
 
72
 
1
+ <?php $slide_status=$this->getResponsivebannersliderEnabled(); ?>
2
+ <?php $slide_speed=$this->getResponsivebannersliderSpeed(); ?>
3
+ <?php $slide_type=$this->getResponsivebannerSlideType(); ?>
4
+ <?php $slide_BannerLoop=$this->getResponsivebannerBannerLoop(); ?>
5
+ <?php $slide_PauseOnhover=$this->getResponsivebannerPauseOnhover(); ?>
6
+
7
+
8
+ <?php
9
+ // Module Enable/Dsable Function.......................................
10
+ if($slide_status==1): ?>
11
+
12
+
13
+
14
+ <?php
15
+ // Module type Function.......................................
16
+ if($slide_type=='2'){ ?>
17
+
18
+
19
+
20
+
21
+
22
+
23
+ <?php $cssurl = str_replace('index.php/','',$this->getUrl());?>
24
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/generic-nav.css'; ?>" media="all">
25
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/grid12.css'; ?>" media="all">
26
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery-1.js'; ?>"></script>
27
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery-noconflict.js'; ?>"></script>
28
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery_004.js'; ?>"></script>
29
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery_003.js'; ?>"></script>
30
+
31
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
32
 
33
 
67
 
68
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
69
 
 
70
  <script type="text/javascript">
71
  //<![CDATA[
72
  //jQuery(function($) {
76
  animation:'fade',
77
  easing:'easeInOutCirc',
78
  useCSS: false,
79
+ animationLoop:<?php echo $slide_BannerLoop; ?>,
80
  smoothHeight: true,
81
+ slideshowSpeed:<?php echo $slide_speed; ?>,
82
  animationSpeed: 600,
83
+ pauseOnHover:<?php echo $slide_PauseOnhover; ?>
84
  });
85
  });
86
  //]]>
87
  </script>
88
 
89
+ <?php
90
+ // Module type 2 Function.......................................End
91
+ } ?>
92
 
93
 
94
 
95
+ <?php
96
+ // Module type 1 Function.......................................Start
97
+ if($slide_type=='1'){ ?>
98
 
99
 
100
 
101
 
102
+ <?php $cssurl = str_replace('index.php/','',$this->getUrl());?>
103
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/generic-nav.css'; ?>" media="all">
104
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/css/grid12.css'; ?>" media="all">
105
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery-1.7.2.min.js'; ?>"></script>
106
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery.easing.min.js'; ?>"></script>
107
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/responsiveslider/js/jquery.flexslider.min.js'; ?>"></script>
108
+
109
+
110
+
111
+
112
+
113
+
114
+ <div class="the-slideshow gen-slider-arrows2 gen-slider-pager1 gen-slider-pager1-pos-bottom-right grid12-9 ">
115
+ <ul class="slides" style="padding:0px!important;">
116
+ <?php
117
+ $connection = Mage::getSingleton('core/resource')->getConnection('core_write');
118
+ $prefix = Mage::getConfig()->getTablePrefix();
119
+ $tblname=$prefix.'mksresponsivebannerslider';
120
+ $sql = $connection->query("select * from $tblname where status='0'");
121
+ while($row1 = $sql->fetch())
122
+ {
123
+ $title = $row1["title"];
124
+ $description = $row1["description"];
125
+ $urlx = $row1["image"];
126
+ $media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
127
+ $imgurl=$media_url.$urlx;
128
+ ?>
129
+ <li class="slide">
130
+ <a href="#">
131
+ <img src="<?php echo $imgurl; ?>" alt="<?php echo $title; ?>" title="<?php echo $title; ?>">
132
+ <div class="caption dark3">
133
+ <h2><?php echo $description; ?></h2>
134
+ </div>
135
+ <div class="caption dark1 top-right">
136
+ <h2></h2>
137
+ </div>
138
+ </a></li>
139
+
140
+ <?php } ?>
141
+ </ul>
142
+ </div>
143
+
144
+ <script type="text/javascript">
145
+ //<![CDATA[
146
+ //jQuery(function($) {
147
+ jQuery(window).load(function(){
148
+ jQuery('.the-slideshow').flexslider({
149
+ namespace:"",
150
+ animation:'slide',
151
+ easing:'easeInOutCirc',
152
+ useCSS: false,
153
+ animationLoop:<?php echo $slide_BannerLoop; ?>,
154
+ smoothHeight: true,
155
+ slideshowSpeed:<?php echo $slide_speed; ?>,
156
+ animationSpeed: 600,
157
+ pauseOnHover:<?php echo $slide_PauseOnhover; ?>
158
+ });
159
+ });
160
+ //]]>
161
+ </script>
162
+
163
+
164
+
165
+
166
+ <?php
167
+ // Module type 1 Function.......................................End
168
+ } ?>
169
 
170
 
171
+ <?php endif; ?>
172
 
app/etc/modules/Mks_Responsivebannerslider.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Mks_Responsivebannerslider>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>1.1.1</version>
8
  </Mks_Responsivebannerslider>
9
  </modules>
10
  </config>
4
  <Mks_Responsivebannerslider>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.1.4</version>
8
  </Mks_Responsivebannerslider>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,18 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Responsivebannerslider</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</summary>
10
  <description>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</description>
11
- <notes>Fix Issue :- Add Table prefix. Auto default banner images load. easy to install.</notes>
 
 
 
12
  <authors><author><name>Mukesh Kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
13
- <date>2014-02-21</date>
14
- <time>06:22:28</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Mks_Responsivebannerslider.xml" hash="a04e883ef005844c7a1f11d7fec7e848"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Responsivebannerslider"><dir name="Block"><dir name="Adminhtml"><dir name="Bannerslider"><dir name="Edit"><file name="Form.php" hash="1f10dccbc5e4edcc90ea3ac5366f57be"/><dir name="Tab"><file name="Form.php" hash="b876cf8d67286b29ddd2c50708eb5c4d"/></dir><file name="Tabs.php" hash="9bc44dafb937cbba749b524774d60db9"/></dir><file name="Edit.php" hash="43d560427c5c71cef9941147cebaa993"/><file name="Grid.php" hash="08b5c4cb74f39a625d6f33d0ad63d84a"/></dir><file name="Bannerslider.php" hash="f34ef00e533391b3bea2b46b19306f24"/><file name="Responsivebannersliderbackend.php" hash="492c6c1c9897c51b987a1acadcc42a5c"/></dir><file name="Index.php" hash="c5f0965e5010398c0f65cf1362f3b136"/></dir><dir name="Helper"><file name="Data.php" hash="54fb6015b45224292e5e47f0004633b6"/></dir><dir name="Model"><file name="Bannerslider.php" hash="9a90f66e05379c7a2ff04dbd95626e8d"/><dir name="Mysql4"><dir name="Bannerslider"><file name="Collection.php" hash="e67814d8806485a9fae33cd3ba88212f"/></dir><file name="Bannerslider.php" hash="39ec20c65650737b829f646fc02df11b"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderController.php" hash="d54d8c12a9deab4dd6cecbe17db76ad4"/><file name="ResponsivebannersliderbackendController.php" hash="f095780b42f66f229d8bb76b69bb8f08"/></dir><file name="IndexController.php" hash="617399f39b6bdb8a88cd939405f4a455"/></dir><dir name="etc"><file name="config.xml" hash="1cd622d64348032aefde23aa6e871184"/></dir><dir name="sql"><dir name="responsivebannerslider_setup"><file name="mysql4-install-1.1.1.php" hash="13ebc2f67330bee2a19714beebf4907b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="responsivebannersliderbackend.phtml" hash="c78b53b275cfeff357c7720666f77295"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="d4fa3c58f4e73497b34afebbbb95744a"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="config.phtml" hash="63418dfde53be897a57aa85d196926a4"/><file name="index.phtml" hash="f212f297f8e301ff7a35f9bddecbf9f9"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="223b3947d796209f85c010b4e2bc92bf"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="responsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="responsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="4cf760c5e87d6ff6e85f653928cbed07"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery_003.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Responsivebannerslider</name>
4
+ <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</summary>
10
  <description>Responsive Banner slider without any jQuery conflict issue Responsive Banner slider . Always use Responsive Banner slider.</description>
11
+ <notes>New Features :-&#xD;
12
+ 1. Add Banner Setting (Left Side)&#xD;
13
+ 2. Add Banner Effect (slide , fade)&#xD;
14
+ 3. User-friendly admin</notes>
15
  <authors><author><name>Mukesh Kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
16
+ <date>2014-03-19</date>
17
+ <time>06:30:20</time>
18
+ <contents><target name="mageetc"><dir name="modules"><file name="Mks_Responsivebannerslider.xml" hash="0929c21b0f69755e4a9d97bfcfc1cf2c"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Bannerslider"><dir name="Block"><dir name="Adminhtml"><file name="Bannersliderbackend.php" hash="c4c6fb4b655fea0bd41834cbc0b380d3"/><dir name="Lightboxslider"><dir name="Edit"><file name="Form.php" hash="c55bf7a8aa522025c651b233b9690935"/><dir name="Tab"><file name="Form.php" hash="cc96e2f71bdbf557f8f80d8b149513b8"/></dir><file name="Tabs.php" hash="76e2ef69fe1e7c80c1a6535561e8ed84"/></dir><file name="Edit.php" hash="8b9324fec5be5fcf2354b571ca33dede"/><file name="Grid.php" hash="8f6c7c1bcc4daba934361e1216e13251"/></dir><file name="Lightboxslider.php" hash="c937a9d8c91fd463abf260ca9ae664d6"/></dir><file name="Index.php" hash="f3b2c62cab06bd80016b5eb867ac6c01"/></dir><dir name="Helper"><file name="Data.php" hash="78ef976446429483b21fafd68f74989b"/></dir><dir name="Model"><file name="Lightboxslider.php" hash="0eaded3aa1491c1ea3a986bdf08d4685"/><dir name="Mysql4"><dir name="Lightboxslider"><file name="Collection.php" hash="c8f8b720ab7d51551cdfc7cba5cd1eed"/></dir><file name="Lightboxslider.php" hash="0e5458515f31d113868b35e2909e5cd0"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderbackendController.php" hash="cff9a6d55a0a1bccd130fc5534d193da"/><file name="LightboxsliderController.php" hash="357b23353df00a7df0843dfd1fd3cfd5"/></dir><file name="IndexController.php" hash="1ab95f552c6422197e56472f4b2e5163"/></dir><dir name="etc"><file name="config.xml" hash="5c31dc5913686be1bc462cf6c756fd7c"/></dir><dir name="sql"><dir name="bannerslider_setup"><file name="mysql4-install-1.1.2.php" hash="b2f92c4cbda833c5b1a756f69a27e93f"/></dir></dir></dir><dir name="Responsivebannerslider"><dir name="Block"><dir name="Adminhtml"><dir name="Bannerslider"><dir name="Edit"><file name="Form.php" hash="1f10dccbc5e4edcc90ea3ac5366f57be"/><dir name="Tab"><file name="Form.php" hash="b876cf8d67286b29ddd2c50708eb5c4d"/></dir><file name="Tabs.php" hash="9bc44dafb937cbba749b524774d60db9"/></dir><file name="Edit.php" hash="43d560427c5c71cef9941147cebaa993"/><file name="Grid.php" hash="08b5c4cb74f39a625d6f33d0ad63d84a"/></dir><file name="Bannerslider.php" hash="f34ef00e533391b3bea2b46b19306f24"/><dir name="Responsivebannerslider"><dir name="Edit"><file name="Form.php" hash="f86a6a2daf3c39135661ea316a0969f7"/><dir name="Tab"><file name="Form.php" hash="621d8558e6c902c762e10d7e535477a4"/></dir><file name="Tabs.php" hash="55c68b32ebe6b620cc9d7ab289091446"/></dir><file name="Edit.php" hash="87125aacdde51dc58afc9fb6e15a4a01"/><file name="Grid.php" hash="4d5db0711cb68df3d53c96bf25fdc2a0"/></dir><file name="Responsivebannerslider.php" hash="c3c6f601bf67d26eafc34855a434a0d2"/><file name="Responsivebannersliderbackend.php" hash="492c6c1c9897c51b987a1acadcc42a5c"/></dir><file name="Index.php" hash="eb410f3d880788cedcbdc466c7f457a5"/></dir><dir name="Helper"><file name="Data.php" hash="54fb6015b45224292e5e47f0004633b6"/></dir><dir name="Model"><file name="Bannerslider.php" hash="9a90f66e05379c7a2ff04dbd95626e8d"/><dir name="Mysql4"><dir name="Bannerslider"><file name="Collection.php" hash="e67814d8806485a9fae33cd3ba88212f"/></dir><file name="Bannerslider.php" hash="39ec20c65650737b829f646fc02df11b"/><dir name="Responsivebannerslider"><file name="Collection.php" hash="b7f9c0fc62387f56d5a0e92d8f2edeea"/></dir><file name="Responsivebannerslider.php" hash="2bd8f1e89f06901432db94ba05db5212"/></dir><file name="Responsivebannerslider.php" hash="6285174778e09dc34f0450c3e3bb9ad1"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderController.php" hash="d54d8c12a9deab4dd6cecbe17db76ad4"/><file name="ResponsivebannersliderController.php" hash="6ae1a578835731ab1f480dc77855096b"/><file name="ResponsivebannersliderbackendController.php" hash="f095780b42f66f229d8bb76b69bb8f08"/></dir><file name="IndexController.php" hash="85cb621ada20da5041cabd3d56d62167"/></dir><dir name="etc"><file name="adminhtml.xml" hash="31b2944b4a2eda48a8cecce0f1f5d0af"/><file name="config.xml" hash="b04d8bea59dddccbff36d8070d28e9fa"/><file name="system.xml" hash="43efea5fd8d8c67f8a27c600dfd281fb"/></dir><dir name="sql"><dir name="responsivebannerslider_setup"><file name="mysql4-install-1.1.1.php" hash="13ebc2f67330bee2a19714beebf4907b"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="461a6cccdf98bfe7c6b22f583ac3d650"/></dir></dir></dir><dir name="Storelocator"><dir name="Block"><dir name="Adminhtml"><dir name="Storelocator"><dir name="Edit"><file name="Form.php" hash="00fed13f02e804d93bac7258689769ad"/><dir name="Tab"><file name="Form.php" hash="4620d9bad225fc9dc88b808fccae3b2f"/></dir><file name="Tabs.php" hash="8819f35cd4af4b61d14bf377c58432b6"/></dir><file name="Edit.php" hash="9be35d036a69cfb545d2f1c1649cb6ba"/><file name="Grid.php" hash="c1901ceac4aec85340a9d4f2d5e9df9f"/></dir><file name="Storelocator.php" hash="81770ec5e092a177c22e188b8db38d7e"/><file name="Storelocatorbackend.php" hash="d600cb8ff797f008c7c652a299305c8d"/></dir><file name="Index.php" hash="85128403f14502fe6642a23231079532"/></dir><dir name="Helper"><file name="Data.php" hash="083521dd42bf734a864e06dceb37b5a0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storelocator"><file name="Collection.php" hash="183c5eeeb2ef6b444bfc08a829b93cde"/></dir><file name="Storelocator.php" hash="29d65325bd746be070275726e309afdb"/></dir><file name="Storelocator.php" hash="e91d32a733f49d62d54c1335a57e2ee5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StorelocatorController.php" hash="0c853bc509d0069930481f4d09e426c6"/><file name="StorelocatorbackendController.php" hash="ea616e919ef3a6492ebbfb55daf57ea1"/></dir><file name="IndexController.php" hash="2da311b739d05591f0f4355c740cb5bc"/></dir><dir name="etc"><file name="config.xml" hash="1aed48b7351a7e3dcd8924c146ac4af0"/></dir><dir name="sql"><dir name="storelocator_setup"><file name="mysql4-install-1.1.1.php" hash="6e216933bbef70d59742516037479dff"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Diyoptions13946249653.php" hash="f3d19500445f6e8191bceb08eaad9c91"/><file name="Diyoptions13946253323.php" hash="8b09868d3d62ee2e492e4fd3d58ce4ce"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="responsivebannersliderbackend.phtml" hash="c78b53b275cfeff357c7720666f77295"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="5dadd1a980f89bc61af23d8c4718ddb5"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="responsivebannerslider"><file name="index.phtml" hash="260bd783243f7571cd0841d25f8f590a"/></dir></dir><dir name="layout"><file name="responsivebannerslider.xml" hash="1b72c0e31b3868e8b080374973c04d41"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="responsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="responsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="4cf760c5e87d6ff6e85f653928cbed07"/><file name="styles-banner.css" hash="5f54dc753c338cd41b1a4df180884a4f"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/><file name="ultra-slideshow.css" hash="d63a04686f1a3b9652053841dcd7ac9a"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.7.2.min.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery.easing.min.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.flexslider.min.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery.slides.min.js" hash="832349b4646a92830507b060a3905aba"/><file name="jquery_003.js" hash="235b4112e5ce03c47395746e677b37ea"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
skin/frontend/base/default/responsiveslider/css/styles-banner.css ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /* Prevent the slideshow from flashing on load */
3
+ #slides {
4
+ display: none
5
+ }
6
+
7
+ /* Center the slideshow */
8
+ .container {
9
+ margin: 0 auto
10
+ }
11
+
12
+ /* Show active item in the pagination */
13
+ .slidesjs-pagination .active {
14
+ color:red;
15
+ }
16
+
17
+ /* Media quires for a responsive layout */
18
+
19
+ /* For tablets & smart phones */
20
+ @media (max-width: 767px) {
21
+ body {
22
+ padding-left: 10px;
23
+ padding-right: 10px;
24
+ }
25
+ .container {
26
+ width: auto
27
+ }
28
+ }
29
+
30
+ /* For smartphones */
31
+ @media (max-width: 480px) {
32
+ .container {
33
+ width: auto
34
+ }
35
+ }
36
+
37
+ /* For smaller displays like laptops */
38
+ @media (min-width: 768px) and (max-width: 979px) {
39
+ .container {
40
+ width: 724px
41
+ }
42
+ }
43
+
44
+ /* For larger displays */
45
+ @media (min-width: 1200px) {
46
+ .container {
47
+ width: 1170px
48
+ }
49
+ }
50
+ #slides {
51
+ display: none;
52
+ position: relative;
53
+ }
54
+
55
+ #slides .slidesjs-next { position: absolute; top: 50%; z-index: 10; right:10px; color:#000; }
56
+ #slides .slidesjs-previous { position: absolute; top: 50%; z-index: 10; left:10px; color:#000; }
57
+ .slidesjs-pagination { float:right; bottom: 30px;
58
+ float: right;
59
+ position: absolute;
60
+ right: 30px;
61
+ z-index: 10;}
62
+ .slidesjs-pagination li {float: left; list-style: none outside none; }
63
+ .slidesjs-pagination li a {
64
+ display: block;
65
+ float: left;
66
+ height: 20px;
67
+ overflow: hidden;
68
+ padding-top: 13px;
69
+ width: 13px;
70
+ color:#000;
71
+ }
72
+
skin/frontend/base/default/responsiveslider/css/styles.css ADDED
@@ -0,0 +1,3174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Reset %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
3
+
4
+ * { margin:0; padding:0; }
5
+ html { font-size:16px; /* Fix for Opera */ }
6
+ body { font:75%/150% 'Signika', Helvetica, sans-serif; background-color:#fff; color:#333; text-align:center; }
7
+ #root-wrapper {}
8
+
9
+ img { border:0; vertical-align:top; max-width:100%; }
10
+
11
+ a { color:#888; text-decoration:none; }
12
+ a:hover { text-decoration:none; color:#ca0413; }
13
+ :focus { outline:0; }
14
+
15
+ /* Headings */
16
+ h1,h2,h3,
17
+ h4,h5,h6 { margin:0 0 10px; font-weight:normal; }
18
+ h1 { font-size:2.6666em; line-height:1.25em; /*32px, 40px*/ }
19
+ h2 { font-size:2em; line-height:1.25em; /*24px, 30px*/ }
20
+ h3 { font-size:1.6666em; line-height:1.2em; /*20px, 24px*/ }
21
+ h4 { font-size:1.3333em; line-height:1.25em /*16px, 20px*/ }
22
+ h5 { font-size:1.1666em; line-height:1.1428em; /*14px, 16px*/ }
23
+ h6 { font-size:1em; }
24
+
25
+ /* Forms */
26
+ form { display:inline; }
27
+ fieldset { border:0; }
28
+ legend { display:none; }
29
+
30
+ /* Table */
31
+ table { border:0; border-collapse:collapse; border-spacing:0; empty-cells:show; font-size:100%; }
32
+ caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
33
+
34
+ /* Content */
35
+ strong { font-weight:bold; }
36
+ address { font-style:normal; }
37
+ cite { font-style:normal; }
38
+ q,
39
+ blockquote { quotes:none; }
40
+ q:before,
41
+ q:after { content:''; }
42
+ small,big { font-size:1em; }
43
+ sup { font-size:1em; vertical-align:top; }
44
+
45
+ /* Lists */
46
+ ul,ol { list-style:none; }
47
+
48
+ /* Tools */
49
+ .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
50
+ .nobr { white-space:nowrap !important; }
51
+ .wrap { white-space:normal !important; }
52
+ .a-left { text-align:left !important; }
53
+ .a-center { text-align:center !important; }
54
+ .a-right { text-align:right !important; }
55
+ .v-top { vertical-align:top; }
56
+ .v-middle { vertical-align:middle; }
57
+ .f-left,
58
+ .left { float:left !important; }
59
+ .f-right,
60
+ .right { float:right !important; }
61
+ .f-none { float:none !important; }
62
+ .f-fix { float:left; width:100%; min-height:147px; position:relative; }
63
+ .no-display { display:none; }
64
+ .no-margin { margin:0 !important; }
65
+ .no-padding { padding:0 !important; }
66
+ .no-bg { background:none !important; }
67
+
68
+
69
+
70
+ /* Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
71
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
72
+
73
+ /* Fix for the following problem: different browsers calculate the viewport width in different ways (not following the standards), some include vertical scrollbar, and some don't. It can be fixed with this CSS. Unfortunately this CSS has a side effect on ipad: page scrolling will not be smooth. */
74
+ /*
75
+ html, body { height:100%; overflow:hidden; }
76
+ #root-wrapper { height:100%; overflow:auto; }
77
+ */
78
+
79
+ .wrapper { border-top:5px solid #333; }
80
+ .page { text-align:left; background-repeat:repeat; background-position:center top; }
81
+ .page-print { background:#fff; padding:20px; text-align:left; }
82
+ .page-empty { background:#fff; padding:20px; text-align:left; }
83
+ .page-popup { padding:20px; text-align:left; background:#fff; }
84
+
85
+ .main-container { background-repeat:repeat; background-position:center top; }
86
+ .main { padding:0; padding:40px 0; min-height:370px; }
87
+ /* Decrease padding on home page */
88
+ body.cms-index-index .main,
89
+ body.cms-index-defaultindex .main { padding-top:20px; padding-bottom:20px; }
90
+
91
+ /* Base Columns */
92
+ .col-left { float:left; }
93
+ .col-main { float:left; }
94
+ .col-right { float:right; }
95
+
96
+ /* 1 Column Layout */
97
+ .col1-layout .col-main { }
98
+
99
+ /* 2 Columns Layout */
100
+ .col2-left-layout .col-main { float:right; }
101
+ .col2-right-layout .col-main { }
102
+
103
+ /* 3 Columns Layout */
104
+ .col3-layout .col-main { }
105
+ .col3-layout .col-wrapper { float:left; }
106
+ .col3-layout .col-wrapper .col-main { float:right; }
107
+
108
+ /* Content Columns */
109
+ .col2-set .col-1 { float:left; width:49%; }
110
+ .col2-set .col-2 { float:right; width:49%; }
111
+ .col2-set .col-narrow { width:33%; }
112
+ .col2-set .col-wide { width:65%; }
113
+
114
+ .col3-set .col-1 { float:left; width:32%; }
115
+ .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
116
+ .col3-set .col-3 { float:right; width:32%; }
117
+
118
+ .col4-set .col-1 { float:left; width:23.5%; }
119
+ .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
120
+ .col4-set .col-3 { float:left; width:23.5%; }
121
+ .col4-set .col-4 { float:right; width:23.5%; }
122
+
123
+
124
+
125
+ /* Global Styles %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
127
+
128
+ /* Form Elements
129
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130
+ */
131
+ input, select, textarea, button { font:12px/15px Arial, Helvetica, sans-serif; vertical-align:middle; }
132
+ /* Fix: remove default formatting on iOS (e.g. rounded corners) */
133
+ input.input-text, textarea { -webkit-appearance:none; }
134
+ input.input-text, select, textarea {
135
+ background:#fff;
136
+ border:1px solid #ddd;
137
+
138
+ /* Remove default formatting, fix for iOS (rounded corners and shadow) */
139
+ -webkit-border-radius:0px;
140
+ border-radius:0px;
141
+ -webkit-box-shadow:none;
142
+ box-shadow:none;
143
+ }
144
+ input.input-text, textarea { padding:7px 2px; }
145
+ select { padding:6px 6px 6px 2px; }
146
+ select option { padding-right:10px; }
147
+ select.multiselect option { border-bottom:1px solid #e5e5e5; padding:2px 5px; }
148
+ select.multiselect option:last-child { border-bottom:0; }
149
+ textarea { overflow:auto; }
150
+ input.radio { margin-right:3px; }
151
+ input.checkbox { margin-right:3px; }
152
+ input.qty { width:2.5em !important; }
153
+
154
+ input.input-text:hover, select:hover, textarea:hover { border-color:#999; }
155
+ input.input-text:focus, select:focus, textarea:focus {
156
+ border-color:#000;
157
+ outline:none;
158
+ /*-moz-box-shadow:inset 0 0 4px rgba(0, 0, 0, 0.2);
159
+ -webkit-box-shadow:inset 0 0 4px rgba(0, 0, 0, 0.2);
160
+ box-shadow:inset 0 0 4px rgba(0, 0, 0, 0.2);*/
161
+ }
162
+ input.input-text:disabled,
163
+ select:disabled,
164
+ textarea:disabled {}
165
+
166
+
167
+ /* Buttons
168
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
169
+ */
170
+ button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
171
+ button.button {
172
+ -webkit-border-fit:lines; /* <- Safari & Google Chrome Fix */
173
+ overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer;
174
+ }
175
+ button.button span {
176
+ float:left;
177
+ display:block;
178
+ padding:0;
179
+ font-size:12px;
180
+ text-align:center;
181
+ white-space:nowrap;
182
+ background-color:#ddd;
183
+ color:#333;
184
+
185
+ transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
186
+ -moz-transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
187
+ -webkit-transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
188
+ -o-transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
189
+ }
190
+ button.button:hover span { background-color:#333; color:#fff; }
191
+ button.button span span { padding:0 25px; height:45px; line-height:45px; }
192
+
193
+ /* Smaller button - for inline display with input boxes
194
+ -------------------------------------------------------------- */
195
+ button.button.btn-inline span span,
196
+ .product-view .box-tags .form-add button.button span span { padding:0 10px; line-height:32px; height:32px; }
197
+
198
+ /* Big button: Add to cart (product view) & Proceed to checkout
199
+ -------------------------------------------------------------- */
200
+ /*.product-view .btn-cart span,
201
+ button.btn-checkout span {}*/
202
+ .product-view .btn-cart span span,
203
+ button.btn-checkout span span { padding:5px 25px; font-size:1.1666em; /*14px*/ }
204
+
205
+ /* Add to cart only */
206
+ .product-view .btn-cart span span { padding:5px 40px; }
207
+
208
+ /* Add to cart - all */
209
+ /*button.button.btn-cart span {}
210
+ button.button.btn-cart:hover span {}*/
211
+
212
+
213
+ /* Form
214
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
215
+ */
216
+ p.control input.checkbox,
217
+ p.control input.radio { margin-right:6px; }
218
+ /* Form Highlight */
219
+ /*input.input-text:focus,select:focus,textarea:focus {}*/
220
+ /*.highlight { background:#efefef; }*/
221
+
222
+ /* Form lists */
223
+ /* Grouped fields */
224
+ /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
225
+ .form-list li { margin:0 0 8px; }
226
+ .form-list label { float:left; font-weight:bold; position:relative; z-index:0; margin:0 0 2px 0; }
227
+ .form-list label.required {}
228
+ .form-list label.required em { float:right; font-style:normal; position:absolute; top:0; right:-8px; }
229
+ .form-list li.control label { float:none; }
230
+ .form-list li.control input.radio,
231
+ .form-list li.control input.checkbox { margin-right:6px; }
232
+ .form-list li.control .input-box { clear:none; display:inline; width:auto; }
233
+ /*.form-list li.fields { margin-right:-15px; }*/
234
+ .form-list .input-box { display:block; clear:both; }
235
+ .form-list .field { float:left; width:275px; margin-bottom:5px; }
236
+ .form-list input.input-text { width:254px; }
237
+ .form-list textarea { width:254px; height:10em; }
238
+ .form-list select { width:260px; }
239
+ .form-list li.wide .input-box { /*width:535px;*/ }
240
+ .form-list li.wide input.input-text { /*width:529px;*/ }
241
+ .form-list li.wide textarea { /*width:529px;*/ }
242
+ .form-list li.wide select { /*width:535px;*/ }
243
+ .form-list li.additional-row { border-top:1px solid #e5e5e5; margin-top:10px; }
244
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
245
+ .form-list .input-range input.input-text { width:74px; }
246
+ /* Customer */
247
+ .form-list .customer-name-prefix .input-box,
248
+ .form-list .customer-name-suffix .input-box,
249
+ .form-list .customer-name-prefix-suffix .input-box,
250
+ .form-list .customer-name-prefix-middlename .input-box,
251
+ .form-list .customer-name-middlename-suffix .input-box,
252
+ .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
253
+
254
+ .form-list .name-prefix { width:65px; }
255
+ .form-list .name-prefix select { width:55px; }
256
+ .form-list .name-prefix input.input-text { width:49px; }
257
+
258
+ .form-list .name-suffix { width:65px; }
259
+ .form-list .name-suffix select { width:55px; }
260
+ .form-list .name-suffix input.input-text { width:49px; }
261
+
262
+ .form-list .name-middlename { width:70px; }
263
+ .form-list .name-middlename input.input-text { width:49px; }
264
+
265
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname,
266
+ .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
267
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
268
+ .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
269
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
270
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
271
+
272
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
273
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
274
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
275
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
276
+
277
+ .form-list .customer-name-prefix .name-firstname,
278
+ .form-list .customer-name-middlename .name-firstname { width:210px; }
279
+
280
+ .form-list .customer-name-suffix .name-lastname,
281
+ .form-list .customer-name-middlename .name-firstname,
282
+ .form-list .customer-name-middlename-suffix .name-firstname,
283
+ .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
284
+
285
+ .form-list .customer-name-prefix .name-firstname input.input-text,
286
+ .form-list .customer-name-suffix .name-lastname input.input-text,
287
+ .form-list .customer-name-middlename .name-firstname input.input-text,
288
+ .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
289
+ .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
290
+
291
+ .form-list .customer-dob .dob-month,
292
+ .form-list .customer-dob .dob-day,
293
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
294
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
295
+ .form-list .customer-dob label { font-size:10px; font-weight:normal; }
296
+ .form-list .customer-dob .dob-day,
297
+ .form-list .customer-dob .dob-month { width:60px; }
298
+ .form-list .customer-dob .dob-day input.input-text,
299
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
300
+ .form-list .customer-dob .dob-year { width:140px; }
301
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }
302
+
303
+ /* Orders and Returns form
304
+ -------------------------------------------------------------- */
305
+ #oar_widget_orders_and_returns_form ul li { margin:0 0 5px; height:30px; }
306
+
307
+ /* Buttons set
308
+ -------------------------------------------------------------- */
309
+ .buttons-set { clear:both; margin:10px 0; }
310
+ .buttons-set button.button { float:right; margin-left:5px; margin-bottom:5px; }
311
+ .buttons-set p.required { margin:0 0 5px; }
312
+
313
+ .contacts-index-index .buttons-set { float:left; margin-top:-10px; }
314
+ .contacts-index-index .buttons-set .required { text-align:left; }
315
+ .contacts-index-index .buttons-set .button { margin-left:0; }
316
+
317
+ .buttons-set .back-link { float:left; margin-bottom:5px; }
318
+ .buttons-set .back-link a { display:block; line-height:36px; /* Icon size */ }
319
+ .buttons-set .back-link small {
320
+ display:inline-block;
321
+ margin-right:5px;
322
+ width:36px;
323
+ height:36px;
324
+ text-indent:-9999px;
325
+ background-image:url(../images/sprite.png);
326
+ background-position:-107px -107px;
327
+ }
328
+ .buttons-set .back-link:hover small {
329
+ background-image:url(../images/sprite.png);
330
+ background-position:-107px -157px;
331
+ }
332
+
333
+ /* Fieldset
334
+ -------------------------------------------------------------- */
335
+ /* Common styles for fieldsets and blocks in Multiple Addresses Checkout and Generic Info Set */
336
+ .fieldset,
337
+ .multiple-checkout .col2-set,
338
+ .multiple-checkout .col3-set,
339
+ .info-set {
340
+ border-top:1px solid #e5e5e5;
341
+ margin:30px 0 0;
342
+ padding:30px 30px 10px;
343
+ }
344
+ .fieldset .legend,
345
+ .multiple-checkout .col2-set h2.legend,
346
+ .info-set h2.legend {
347
+ background-color:#fff;
348
+ float:left;
349
+ margin:-42px 0 0 -10px;
350
+ padding:0 10px;
351
+ }
352
+
353
+ /* Form Validation
354
+ -------------------------------------------------------------- */
355
+ .validation-advice { clear:both; font-size:0.9166em; line-height:1em; color:#ee001c; margin-top:5px; }
356
+ .validation-failed { border:1px solid #ee001c !important; background:#fff !important; }
357
+ .validation-passed {}
358
+
359
+ /* Required */
360
+ p.required { font-size:0.8333em; /*10px*/ text-align:right; }
361
+ p.required,
362
+ .product-options dt label.required em,
363
+ .form-list label.required em { color:#D90000; }
364
+
365
+ /* Expiration date and CVV number validation fix */
366
+ .v-fix { float:left; }
367
+ .v-fix .validation-advice { display:block; width:12em; margin-right:-12em; position:relative; }
368
+
369
+
370
+ /* Global Messages
371
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
372
+ */
373
+ .success { color:#3d6611; font-weight:bold; }
374
+ .error { color:#ee001c; font-weight:bold; }
375
+ .notice { color:#ccc; }
376
+
377
+ .messages,
378
+ .messages ul { list-style:none !important; margin:0; padding:0; }
379
+ .messages { overflow:hidden; margin:0 0 10px; }
380
+ .messages li { margin:0 0 1%; }
381
+ .messages li li { margin:0; }
382
+ .messages a { text-decoration:underline; }
383
+ .catalog-category-view .messages { margin-top:15px; }
384
+
385
+ .error-msg,
386
+ .success-msg,
387
+ .note-msg,
388
+ .notice-msg {
389
+ background-position:25px center !important;
390
+ background-repeat:no-repeat !important;
391
+ padding:25px 25px 25px 80px !important;
392
+ font-size:12px !important;
393
+ }
394
+ .error-msg {
395
+ border-color:#c02230;
396
+ background-color:#F5DAD3;
397
+ background-image:url(../images/i_msg-error.png);
398
+ color:#c02230;
399
+ }
400
+ .success-msg {
401
+ border-color:#296a23;
402
+ background-color:#e9ffca;
403
+ background-image:url(../images/i_msg-success.png);
404
+ color:#296a23;
405
+ }
406
+ .note-msg,
407
+ .notice-msg {
408
+ border-color:#7c622a;
409
+ background-color:#FDEDA4;
410
+ background-image:url(../images/i_msg-note.png);
411
+ color:#7c622a;
412
+ }
413
+
414
+ .note-msg.empty-catalog {
415
+ background:url(../images/img/empty-catalog.png) 10px 10px no-repeat transparent !important;
416
+ color:inherit;
417
+ min-height:70px;
418
+ padding:40px 20px 40px 160px !important;
419
+ }
420
+
421
+
422
+ /* BreadCrumbs
423
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
424
+ */
425
+ .breadcrumbs { line-height:1.5em; /*18px*/ margin:-0.5em 0 5px; }
426
+
427
+ /* Breadcrumbs on product page */
428
+ .catalog-product-view .breadcrumbs { margin-bottom:10px; }
429
+
430
+ .breadcrumbs ul {}
431
+ .breadcrumbs li { display:inline; font-size:0.9166em; /*11px*/ }
432
+ .breadcrumbs a { display:block; float:left; }
433
+ .breadcrumbs li span {
434
+ background:url(../images/img/pix.png) 0 -129px no-repeat;
435
+ width:7px;
436
+ height:5px;
437
+ margin:6px 4px 0;
438
+ display:block;
439
+ float:left;
440
+ text-indent:-9999px;
441
+ overflow:hidden;
442
+ }
443
+ .breadcrumbs li strong { font-weight:normal; display:block; }
444
+
445
+
446
+ /* Page Heading
447
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
448
+ */
449
+ .page-title { padding:0; margin:0 0 15px; }
450
+ .my-account .page-title,
451
+ .category-title { border-bottom:1px solid #e5e5e5; }
452
+
453
+ .page-title h1,
454
+ .page-title h2 { margin:0; min-height:1.3125em; /* 42px. Has to ba aligned with ".block .block-title" */ }
455
+ .page-title .separator { margin:0 3px; }
456
+ .page-title .link-rss { float:right; margin-top:10px; }
457
+ .title-buttons { text-align:right; }
458
+ .title-buttons button { margin-left:1em; }
459
+ .title-buttons h1,
460
+ .title-buttons h2,
461
+ .title-buttons h3,
462
+ .title-buttons h4,
463
+ .title-buttons h5,
464
+ .title-buttons h6 { float:left; text-align:left; /* TRICKY: align left as opposition to other elements */ }
465
+
466
+ /* Buttons - adjust the height of heading buttons in customer account (needed for the Address Book) */
467
+ .my-account .title-buttons button span span {
468
+ height:35px;
469
+ line-height:35px;
470
+ }
471
+
472
+
473
+ /* Toolbar: pager and sorter
474
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
475
+ */
476
+
477
+ /* Sorter
478
+ -------------------------------------------------------------- */
479
+ .sorter { padding:5px 0; }
480
+
481
+ /* View mode */
482
+ .sorter .view-mode { float:right; }
483
+ .sorter .view-mode label { margin-right:5px; }
484
+ .sorter .view-mode .grid,
485
+ .sorter .view-mode .list {
486
+ display:inline-block;
487
+ vertical-align:middle;
488
+
489
+ margin:0 0 0 1px;
490
+ background-image:url(../images/img/pix.png);
491
+ background-repeat:no-repeat;
492
+ text-indent:-9999px;
493
+ overflow:hidden;
494
+ }
495
+ .sorter .view-mode .grid { background-position:0 -207px; }
496
+ .sorter .view-mode .list { background-position:-30px -207px; margin-left:-5px; }
497
+ .sorter .view-mode a.grid:hover { background-position:0 -237px; }
498
+ .sorter .view-mode a.list:hover { background-position:-30px -237px; }
499
+
500
+ /*.sorter .view-mode .grid { background-position:0 -277px; }
501
+ .sorter .view-mode .list { background-position:-30px -277px; margin-left:-5px; }
502
+ .sorter .view-mode a.grid:hover { background-position:0 -307px; }
503
+ .sorter .view-mode a.list:hover { background-position:-30px -307px; }*/
504
+ /* Currently selected mode icon */
505
+ /*.sorter .view-mode span.grid,
506
+ .sorter .view-mode span.list {}*/
507
+
508
+ /* Sort by */
509
+ .sorter .sort-by { float:left; margin-right:10px; padding-right:3px; background:url(../images/img/link-separator.png) right center no-repeat; }
510
+ .sorter .sort-by .category-asc,
511
+ .sorter .sort-by .category-desc {
512
+ display:inline-block;
513
+ text-indent:-9999px;
514
+ overflow:hidden;
515
+ }
516
+ .sorter .sort-by .category-asc { background:url(../images/img/pix.png) 0 -87px no-repeat transparent; }
517
+ .sorter .sort-by .category-desc { background:url(../images/img/pix.png) -60px -87px no-repeat transparent; }
518
+ .sorter .sort-by .category-asc:hover { background-position:-30px -87px; }
519
+ .sorter .sort-by .category-desc:hover { background-position:-90px -87px; }
520
+
521
+ /* Pager
522
+ -------------------------------------------------------------- */
523
+ .pager { margin:10px 0; padding:5px 0; border-top:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5; }
524
+ .pager .pages { float:right; vertical-align:middle; /* Vertical align to fix positionning issue */ }
525
+ .pager .pages strong,
526
+ .pager .pages span { float:left; margin-right:5px; font-weight:normal; }
527
+ .pager .pages ol { display:inline; }
528
+ .pager .pages li { float:left; margin:0 0 0 1px; display:block; text-align:center; }
529
+ .pager .pages li a { display:block; background-color:transparent; color:inherit; }
530
+
531
+ .pager .pages li a.previous,
532
+ .pager .pages li a.next {
533
+ text-indent:-9999px;
534
+ overflow:hidden;
535
+ /*Deprecated:*/
536
+ /*background-image:url(../images/img/pix.png);
537
+ background-repeat:no-repeat;*/
538
+ }
539
+ /*Deprecated:*/
540
+ /*.pager .pages li a.previous { background-position:0px -55px; }
541
+ .pager .pages li:hover a.previous {}
542
+ .pager .pages li a.next { background-position:-30px -55px; }
543
+ .pager .pages li:hover a.next {}*/
544
+
545
+ /* Toolbar. Pager and sorter inside toolbar
546
+ -------------------------------------------------------------- */
547
+ .toolbar {
548
+ border-top:1px solid #e5e5e5;
549
+ border-bottom:1px solid #e5e5e5;
550
+ margin-bottom:-1px; /* To cover the top line of the products grid/list */
551
+
552
+ /* Move up to cover adjacent lines/elements */
553
+ position:relative;
554
+ z-index:1;
555
+ }
556
+
557
+ /* Pager inside toolbar - align center */
558
+ .toolbar .pager { margin:0; border-bottom:none; border-top:1px dashed #e5e5e5; text-align:center; }
559
+ .toolbar .pager .pages { display:inline-block; float:none; }
560
+
561
+ /* Bottom toolbar */
562
+ .toolbar-bottom { margin-top:10px; }
563
+ .toolbar-bottom .toolbar { border-bottom:none; }
564
+ .toolbar-bottom .toolbar .pager { border-top:none; }
565
+ .toolbar-bottom .sorter { display:none; }
566
+
567
+ /* Common styles for toolbar elements
568
+ -------------------------------------------------------------- */
569
+
570
+ /* Size */
571
+ .sorter,
572
+ .pager { line-height:30px; }
573
+ .sorter .view-mode .grid,
574
+ .sorter .view-mode .list,
575
+ .sorter .sort-by .category-asc,
576
+ .sorter .sort-by .category-desc,
577
+ .pager .pages li { width:30px; height:30px; }
578
+
579
+ /* Amount */
580
+ .pager .amount,
581
+ .sorter .amount { float:left; padding-right:10px; margin-right:10px; background:url(../images/img/link-separator.png) right center no-repeat; }
582
+
583
+ /* Limiter */
584
+ .pager .limiter,
585
+ .sorter .limiter { float:left; margin-right:15px; }
586
+
587
+ /* All elements - vertical spacing */
588
+ .pager .amount,
589
+ .pager .limiter,
590
+ .pager .pages,
591
+ .sorter .amount,
592
+ .sorter .limiter,
593
+ .sorter .view-mode,
594
+ .sorter .sort-by { padding-top:5px; padding-bottom:5px; }
595
+
596
+
597
+ /* Data Table
598
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
599
+ */
600
+ .data-table { width:100%; }
601
+ .data-table th,
602
+ .data-table td { padding:10px; }
603
+ .data-table thead { background:none; border-bottom:1px solid #e5e5e5; }
604
+ .data-table thead th { font-weight:bold; vertical-align:bottom; }
605
+ .data-table thead th.wrap { white-space:normal; }
606
+
607
+ .data-table tr.odd td,
608
+ .data-table tr.odd th { border-right:1px solid #f5f5f5;}
609
+ .data-table tr.odd td.last { border-right:none; }
610
+ .data-table tr.odd.last { border-bottom:#eee solid 1px; }
611
+
612
+ .data-table tr.even { background-color:#fbfbfb; }
613
+ .data-table tr.even td,
614
+ .data-table tr.even th { border-right:1px solid #f1f1f1; }
615
+ .data-table tr.even td.last { border-right:none; }
616
+
617
+ .data-table tbody tr:hover {}
618
+ .data-table tbody tr.product-shop-row:hover { background-color:#FFF; } /*TODO:needed?*/
619
+ .data-table tbody.odd {}
620
+ .data-table tbody.odd td { border-width:0 1px; }
621
+ .data-table tbody.odd tr.last { border-bottom:#e5e5e5 solid 1px; }
622
+ .data-table tbody.even { background-color:#f1f1f1; }
623
+ .data-table tbody.even td { border-width:0 1px; }
624
+ .data-table tbody.odd tr.border td,
625
+ .data-table tbody.even tr.border td {}
626
+ .data-table th .tax-flag { /*white-space:nowrap;*/ font-weight:normal; }
627
+
628
+ /* Additional classes for mobile devices
629
+ -------------------------------------------------------------- */
630
+ /* Cell title */
631
+ .data-table .cell-label { display:none; }
632
+
633
+
634
+ /* Shopping cart total summary row expandable to details
635
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
636
+ */
637
+ tr.summary-total { cursor:pointer; }
638
+ tr.summary-total td {}
639
+ tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; cursor:pointer; }
640
+ tr.show-details .summary-collapse { background-position:0 -53px; }
641
+ tr.show-details td {}
642
+ tr.summary-details td { font-size:11px; background-color:#f5f5f5; color:#777; padding:2px 5px !important; }
643
+ tr.summary-details-first td { border-top:1px solid #d5d5d5; }
644
+ tr.summary-details-excluded { font-style:italic; }
645
+
646
+
647
+ /* Shopping cart tax info
648
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
649
+ */
650
+ .cart-tax-info { display:block; }
651
+ .cart-tax-info,
652
+ .cart-tax-info .cart-price { padding-right:20px; }
653
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 4px no-repeat; cursor:pointer; }
654
+ .cart-tax-info .price,
655
+ .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
656
+ .cart-tax-total-expanded { background-position:100% -53px; }
657
+
658
+
659
+ /* Misc
660
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
661
+ */
662
+ .link-cart { font-weight:bold; }
663
+ .link-reorder { font-weight:bold; }
664
+ .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px; }
665
+ .link-rss { background:url(../images/i_rss.gif) 0 3px no-repeat; padding-left:18px; white-space:nowrap; }
666
+
667
+ .cards-list dt { margin:5px 0 0; }
668
+ .cards-list .offset { padding:2px 0 2px 20px; }
669
+
670
+ .separator { margin:0 3px; font-weight:normal; color:#e5e5e5; }
671
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:#e5e5e5; text-indent:-9999em; overflow:hidden; }
672
+
673
+ /* Global site notices
674
+ -------------------------------------------------------------- */
675
+ .global-site-notice { border:1px solid #cfcfcf; border-width:0 0 1px; background:#f5f5f5; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
676
+ .global-site-notice .notice-inner { width:860px; margin:0 auto; padding:12px 0 12px 80px; background:url(../images/i_notice.gif) 20px 25px no-repeat; text-align:left; }
677
+ .global-site-notice .notice-inner p { margin:0; border:1px dotted #cccc73; padding:10px; }
678
+ .global-site-notice .notice-inner .actions { padding-top:10px; }
679
+
680
+ /* Cookie Notice */
681
+ .notice-cookie {}
682
+
683
+ /* Noscript Notice */
684
+ .noscript {}
685
+
686
+ /* Demo Notice */
687
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; border:0; text-align:center; color:#fff; }
688
+ .demo-notice .notice-inner { width:auto; padding:0; background:none; text-align:center; }
689
+ .demo-notice .notice-inner p { padding:0; border:0; }
690
+
691
+
692
+ /* Buttons remove/close and edit
693
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
694
+ */
695
+
696
+ /* Common styles for buttons
697
+ -------------------------------------------------------------- */
698
+ .btn-remove,
699
+ .btn-remove2,
700
+ .btn-edit,
701
+ .tool-tip .btn-close a {
702
+ display:block;
703
+ width:17px;
704
+ height:17px;
705
+ font-size:0;
706
+ line-height:0;
707
+ text-indent:-999em;
708
+ overflow:hidden;
709
+ }
710
+
711
+ .btn-remove,
712
+ .btn-remove2,
713
+ .tool-tip .btn-close a {
714
+ background:url(../images/img/pix.png) 0 -150px no-repeat;
715
+ }
716
+ .btn-remove:hover,
717
+ .btn-remove2:hover,
718
+ .tool-tip .btn-close a:hover { background-position: -17px -150px; }
719
+ .btn-remove:active,
720
+ .btn-remove2:active,
721
+ .tool-tip .btn-close a:focus { background-position: -34px -150px; }
722
+
723
+ /* Button edit
724
+ -------------------------------------------------------------- */
725
+ .btn-edit { background:url(../images/img/pix.png) 0 -167px no-repeat; margin:0 5px 0 0; }
726
+ .btn-edit:hover { background-position: -17px -167px; }
727
+ .btn-edit:active { background-position: -34px -167px; }
728
+
729
+
730
+
731
+ /* Class: std %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
732
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
733
+ /* Styles for admin-controlled content */
734
+
735
+ .std .subtitle { padding:0; }
736
+ .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
737
+ .std dl dt { font-weight:bold; }
738
+ .std dl dd { margin:0 0 10px; }
739
+ .std dl,
740
+ .std p,
741
+ .std address,
742
+ .std blockquote { margin:0 0 1em; padding:0; }
743
+
744
+
745
+ /* Lists
746
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
747
+ */
748
+
749
+ /* Unordered lists
750
+ -------------------------------------------------------------- */
751
+
752
+ /* Common basic styling */
753
+ ul.bullet,
754
+ ul.disc { margin:1em 0; padding:0; }
755
+
756
+ /* Disc */
757
+ ul.disc { list-style:disc outside none; padding-left:1.5em; }
758
+ ul.disc li { background-image:none; padding-left:0; }
759
+
760
+ /* Bullet */
761
+ ul.bullet { list-style:none outside none; }
762
+ ul.bullet li {
763
+ background:url(../images/infortis/_shared/cck/list/bullet.png) 0 0 no-repeat;
764
+ padding-left:25px;
765
+ transition: background-position 150ms ease-out;
766
+ -moz-transition: background-position 150ms ease-out;
767
+ -webkit-transition: background-position 150ms ease-out;
768
+ -o-transition: background-position 150ms ease-out;
769
+ }
770
+ ul.bullet li:hover { background-position:3px 0; }
771
+
772
+ /* Different bullets. IMPORTANT: use together with class "bullet" */
773
+ ul.list1 li { background-image:url(../images/infortis/_shared/cck/list/list1.png); }
774
+ ul.list2 li { background-image:url(../images/infortis/_shared/cck/list/list2.png); }
775
+ ul.list11 li { background-image:url(../images/infortis/_shared/cck/list/list11.png); }
776
+ ul.list12 li { background-image:url(../images/infortis/_shared/cck/list/list12.png); }
777
+ ul.list13 li { background-image:url(../images/infortis/_shared/cck/list/list13.png); }
778
+
779
+ /* No bullets */
780
+ /*.std ul.no-bullets { list-style:none outside none; padding-left:0; }
781
+ .std ul.no-bullets li { background-image:none; padding-left:0; }*/
782
+
783
+
784
+
785
+ /* Separator */
786
+ ul .separator {
787
+ border-bottom:1px solid #fff;
788
+ margin:8px 1px;
789
+ overflow:hidden;
790
+ }
791
+
792
+ /* Nested unordered lists
793
+ -------------------------------------------------------------- */
794
+ ul.bullet ul,
795
+ ul.disc ul { margin-top:0.5em; margin-bottom:0.5em; }
796
+ ul.bullet ul li,
797
+ ul.disc ul li { background:url(../images/infortis/_shared/cck/list/bullet-small.png) 0 0 no-repeat; padding-left:1.5em; }
798
+
799
+ /* Ordered lists
800
+ -------------------------------------------------------------- */
801
+ .std ol { list-style:decimal outside; margin:10px 0; padding:0 0 0 1.5em; }
802
+ .std ol ol,
803
+ .std ul ol,
804
+ .std ol ul { margin:0.5em 0; }
805
+
806
+
807
+ /* Misc
808
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
809
+ */
810
+ .std dt { font-weight:bold; }
811
+ .std dd { padding:0 0 0 1.5em; }
812
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
813
+ .std address { font-style:normal; }
814
+ .std b,
815
+ .std strong { font-weight:bold; }
816
+ .std i,
817
+ .std em { font-style:italic; }
818
+
819
+
820
+ /* Override std styles for selected elements
821
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
822
+ */
823
+ .std .products-grid p { margin-bottom:0; }
824
+
825
+
826
+
827
+ /* Header %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
828
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
829
+
830
+ /* Header
831
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
832
+ */
833
+ .header-container { background-repeat:repeat; background-position:center top; }
834
+ .header { padding:0; }
835
+
836
+ /* Basic header sections
837
+ -------------------------------------------------------------- */
838
+ .header-top {}
839
+ .header-main {}
840
+
841
+ /* Misc header elements
842
+ -------------------------------------------------------------- */
843
+ .header .welcome-msg {}
844
+ .header .login-msg {}
845
+ .header .login-msg a {}
846
+ .header .login-msg a:hover {}
847
+
848
+
849
+ /* Header top
850
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
851
+ */
852
+ .header-top .item {}
853
+ .header-top .item-left { float:left; margin-right:20px; }
854
+ .header-top .item-right { float:right; margin-left:20px; }
855
+
856
+ .header-top .lang-switcher,
857
+ .header-top .currency-switcher { margin:0; }
858
+
859
+
860
+
861
+
862
+ /* Logo
863
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
864
+ */
865
+ .header .logo-wrapper { margin:10px 0; }
866
+ .header .logo { display:inline-block; max-width:220px; margin:0; text-decoration:none !important; }
867
+ .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
868
+
869
+
870
+ /* User menu, top links
871
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
872
+ */
873
+ .user-menu {
874
+ float:right;
875
+ margin:10px 0 10px 10px;
876
+ }
877
+ #mini-cart { float:right; }
878
+ .top-links { float:right; }
879
+
880
+ /* Set floating because there can be more than one list of links. */
881
+ .top-links ul { float:right; }
882
+
883
+
884
+ /* Quick search
885
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
886
+ */
887
+ .header-top-search-wrapper { float:left; margin:10px 0; }
888
+ /*.header-top-search-wrapper .advanced-search-link { display:none; position:absolute; }
889
+ .header-top-search-wrapper:hover .advanced-search-link { display:block; }*/
890
+
891
+ #search_mini_form { clear:both; display:block; }
892
+ .header .form-search {
893
+ position:relative;
894
+ margin:0 auto;
895
+ width:80%;
896
+ }
897
+ .header .form-search label { float:left; margin:3px 4px 0 0; display:none; }
898
+ .header .form-search .input-text {
899
+ float:right;
900
+ width:83%; /*98%;*/
901
+ height:32px;
902
+ line-height:32px; /*IE8*/
903
+ padding:0px 35px 0 7px; /*0 0 0 5px;*/
904
+ color:#bbb;
905
+ background-color:#fff;
906
+ overflow:hidden;
907
+ text-overflow:ellipsis;
908
+ }
909
+ .header .form-search .input-text::-ms-clear { display:none; }
910
+ .header .form-search .button {
911
+ background-color:#fff;
912
+ width:32px;
913
+ height:32px;
914
+ position:absolute;
915
+ right:1px;
916
+ top:1px;
917
+ }
918
+ .header .form-search .button span {
919
+ background:url(../images/sprite.png) no-repeat transparent;
920
+ background-position:-59px -109px; /* -57px -107px; */
921
+ width:32px;
922
+ height:32px;
923
+ opacity:0.3;
924
+ filter:alpha(opacity=30);
925
+ }
926
+ .header .form-search .button:hover span { opacity:1; filter:alpha(opacity=100); }
927
+ .header .form-search .button span span { background:none; display:none; }
928
+
929
+ /* Search autocomplete */
930
+ .header .form-search .search-autocomplete {
931
+ left:0 !important;
932
+ top:42px !important;
933
+ position:relative;
934
+ z-index:3900 !important; /* Less than drop-down buttons */
935
+ }
936
+ .header .form-search .search-autocomplete ul {
937
+ background-color:#fff;
938
+ text-align:left;
939
+ margin-top:-2px;
940
+ padding:7px;
941
+ }
942
+ .header .form-search .search-autocomplete li { padding:3px 5px; cursor:pointer; }
943
+ .header .form-search .search-autocomplete li:hover { background-color:#f5f5f5; }
944
+ .header .form-search .search-autocomplete li .amount { float:right; padding-left:5px; }
945
+
946
+
947
+ /* Mini-cart
948
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
949
+ */
950
+ #mini-cart { position:relative; margin-bottom:-8px; }
951
+ .after-mini-cart { clear:both; }
952
+
953
+ /* Mini-cart Heading
954
+ -------------------------------------------------------------- */
955
+ #mini-cart .dropdown-toggle {}
956
+
957
+ #mini-cart .dropdown-toggle .icon-cart {
958
+ width:14px;
959
+ max-height:32px;
960
+ background:url(../images/img/pix.png) 0px -205px no-repeat;
961
+ }
962
+ #mini-cart .dropdown-toggle .summary {}
963
+ #mini-cart .dropdown-toggle .amount {}
964
+ #mini-cart .dropdown-toggle .subtotal {}
965
+ /* Fix icon positioning */
966
+ #mini-cart .dropdown-toggle .icon { padding:0; width:36px; height:36px; }
967
+
968
+ /* Mini-cart content
969
+ -------------------------------------------------------------- */
970
+ #mini-cart .dropdown-menu {
971
+ width:300px;
972
+ padding:25px;
973
+ text-align:left; /* Because cart can be aligned center */
974
+ }
975
+
976
+ #mini-cart .dropdown-menu .inner {}
977
+ #mini-cart .dropdown-menu .incl-tax { display:block; padding-bottom:10px; text-align:right; }
978
+ #mini-cart .dropdown-menu .empty { padding:10px 0; }
979
+ #mini-cart .block-subtitle { padding:0; margin:0 0 10px; font-weight:normal; }
980
+ #mini-cart .product-name {}
981
+ #mini-cart .btn-remove,
982
+ #mini-cart .btn-edit { float:right; }
983
+ #mini-cart .product-details strong { font-weight:normal; }
984
+ #mini-cart .actions { margin:10px 0 0; padding:0; border:none; text-align:left; }
985
+ #mini-cart .actions button { float:left; margin-right:1px; }
986
+
987
+
988
+ /* Mini-cart on hover
989
+ -------------------------------------------------------------- */
990
+ /* TODO
991
+ #mini-cart:hover .block-content { display:block; }
992
+ #mini-cart.hover:hover .block-content { display:none; }*/ /*Override (remove) default :hover behavior, if JS is enabled*/
993
+
994
+
995
+ /* Block: Recently Compared (dropdown)
996
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
997
+ */
998
+ .quick-compare {
999
+ float:right;
1000
+ position:relative;
1001
+ margin:0;
1002
+ padding:0;
1003
+ border:none;
1004
+ }
1005
+ .quick-compare .dropdown-toggle {}
1006
+ .quick-compare .dropdown-menu {
1007
+ width:300px;
1008
+ padding:25px;
1009
+ text-align:left; /* Because cart can be aligned center */
1010
+ }
1011
+
1012
+ .quick-compare .dropdown-menu .empty { padding:10px 0; }
1013
+ .quick-compare .dropdown-menu .item { padding:3px 0; }
1014
+ .quick-compare .dropdown-menu .item .product-name { padding-right:20px; }
1015
+ .quick-compare .btn-remove { float:right; }
1016
+ .quick-compare .actions {
1017
+ border-top:1px dotted #e5e5e5;
1018
+ margin:5px 0 0;
1019
+ padding:5px 0 0;
1020
+ text-align:right;
1021
+ }
1022
+ .quick-compare .actions a { float:right; }
1023
+ .quick-compare .actions button { float:left; }
1024
+
1025
+ /* Block on hover
1026
+ -------------------------------------------------------------- */
1027
+ .header .block-compare:hover .block-content { display:block; }
1028
+
1029
+
1030
+
1031
+ /* Sidebar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1032
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
1033
+
1034
+ /* Blocks
1035
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1036
+ */
1037
+ .block { margin:0 0 10px; }
1038
+ .block .block-title {}
1039
+ .block .block-title strong { font-weight:inherit; }
1040
+ .block .block-title a { text-decoration:none !important; }
1041
+ .block .block-subtitle { margin:5px 0 10px; padding:0; font-size:1em; font-weight:bold; }
1042
+ .block .block-content { padding:10px; }
1043
+ .block .block-content li.item { padding:5px 0; }
1044
+ .block .block-content li.item .product-name {}
1045
+ .block .btn-remove { float:right; }
1046
+ .block .btn-edit { float:right; }
1047
+ .block .actions { margin:5px 0 0 0; padding:5px 0 0; border-top:1px dotted #e5e5e5; text-align:right; }
1048
+ .block .actions a { float:left; }
1049
+
1050
+ /* Mini Products List
1051
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1052
+ */
1053
+ .mini-products-list li { padding:5px 0; }
1054
+ .mini-products-list .product-image { float:left; width:50px; }
1055
+ .mini-products-list .product-details { margin-left:69px; }
1056
+ .mini-products-list .product-details h4 { font-size:1em; font-weight:bold; margin:0; }
1057
+
1058
+ /* Common styling for mini list and cross-sell list */
1059
+ .mini-products-list .product-image,
1060
+ .cart .crosssell .product-image { padding:3px; border:1px solid #e5e5e5; }
1061
+ .mini-products-list .product-image:hover,
1062
+ .cart .crosssell .product-image:hover { border-color:#999; }
1063
+
1064
+
1065
+ /* Block: Account
1066
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1067
+ */
1068
+ .block-account .block-title { background:url(../images/img/ic-account.png) 5px 2px no-repeat; padding-left:42px !important; }
1069
+ .block-account .block-content { padding:10px 0 0 10px; }
1070
+ .block-account li.current { padding:4px 2px 4px 33px; background:url(../images/img/arrow-menu.png) 2px -48px no-repeat; }
1071
+ .block-account li.current strong { font-weight:normal; }
1072
+ .block-account li.last { border-bottom:none; }
1073
+ .block-account li a {
1074
+ padding:3px 2px 3px 33px;
1075
+ background:url(../images/img/arrow-menu.png) 2px 1px no-repeat;
1076
+ display:block;
1077
+ }
1078
+ .block-account li a:hover { background-position:2px -48px; }
1079
+
1080
+
1081
+
1082
+ /* Block: Layered Navigation
1083
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1084
+ */
1085
+
1086
+ .block-layered-nav .block-content { padding:0; }
1087
+ .block-layered-nav .block-title {}
1088
+ .block-layered-nav .block-title strong { text-transform:none; }
1089
+ .block-layered-nav .block-subtitle { display:none; margin-bottom:0; }
1090
+
1091
+ /* List of filters */
1092
+ .block-layered-nav dl { padding-left:10px; padding-top:10px; }
1093
+ .block-layered-nav dt { font-weight:bold; padding:0; }
1094
+ .block-layered-nav dd { padding:5px 0 10px 5px; }
1095
+ .block-layered-nav dd.last { border-bottom:none; }
1096
+
1097
+ /* Current filters */
1098
+ .block-layered-nav .currently { margin:10px 0; }
1099
+ .block-layered-nav .currently .block-subtitle { display:block; padding:10px 10px 0; font-weight:normal; }
1100
+ .block-layered-nav .currently ol { padding:10px; }
1101
+ .block-layered-nav .currently ol li { margin-bottom:4px; }
1102
+ .block-layered-nav .currently .label { margin-right:4px; color:#d90000; }
1103
+ .block-layered-nav .currently .btn-remove { float:right; margin-left:5px; }
1104
+ .block-layered-nav .actions { margin:0; }
1105
+ .block-layered-nav .actions a { float:right; }
1106
+
1107
+ /* List items */
1108
+ .block-layered-nav dd li,
1109
+ .block-layered-nav .currently ol li {
1110
+ line-height:1.5em;
1111
+ background:url(../images/img/bullet.png) 3px 5px no-repeat;
1112
+ padding-left:15px;
1113
+ transition: background-position 150ms ease-out;
1114
+ -moz-transition: background-position 150ms ease-out;
1115
+ -webkit-transition: background-position 150ms ease-out;
1116
+ -o-transition: background-position 150ms ease-out;
1117
+ }
1118
+ .block-layered-nav dd li:hover,
1119
+ .block-layered-nav .currently ol li:hover { background-position:6px 5px; }
1120
+
1121
+
1122
+ /* Block: Wishlist
1123
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1124
+ */
1125
+ .block-wishlist li.item .btn-remove { margin-left:5px; }
1126
+
1127
+
1128
+ /* Block: Related
1129
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1130
+ */
1131
+
1132
+ /* Ccommon styles for all types of the block */
1133
+ .block-related .block-subtitle {
1134
+ display:none;
1135
+ position:absolute;
1136
+ padding:1em 0;
1137
+ margin:-20px 0 0;
1138
+ border-top:1px solid #e5e5e5;
1139
+ border-bottom:1px solid #e5e5e5;
1140
+ font-weight:normal;
1141
+ z-index:1;
1142
+ }
1143
+ .block-related:hover .block-subtitle { display:block; }
1144
+
1145
+ /* Block: Related. Single product slider
1146
+ -------------------------------------------------------------- */
1147
+ .block-related-slider input.checkbox { float:left; margin:7px 5px 0 0; }
1148
+
1149
+
1150
+ /* Block: Related. Simple thumbnails slider
1151
+ -------------------------------------------------------------- */
1152
+ .block-related-thumbnails .itemslider .slides { margin-top:10px; }
1153
+ .block-related-thumbnails .product {}
1154
+ .block-related-thumbnails .product-image {
1155
+ float:left;
1156
+ margin-bottom:10px;
1157
+ }
1158
+ .block-related-thumbnails .product-details {
1159
+ margin-left:110px;
1160
+ }
1161
+ .block-related-thumbnails .product-details > * { margin-bottom:5px; }
1162
+ .block-related-thumbnails .product-name {
1163
+ font-size:12px;
1164
+ font-family:inherit;
1165
+ }
1166
+ .block-related-thumbnails .price-box { font-size: 1em; }
1167
+ .block-related-thumbnails .checkbox { float:left; margin:2px 5px 0 0; }
1168
+
1169
+
1170
+ /* Block: Compare Products
1171
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1172
+ */
1173
+ .compare-table { border:0; }
1174
+ .compare-table .btn-remove { float:right; }
1175
+ .compare-table tbody tr:hover { background-color:#e5e5e5; }
1176
+
1177
+ .compare-table .product-shop-row { border-bottom:1px solid #ccc; }
1178
+ .compare-table .product-shop-row th,
1179
+ .compare-table .product-shop-row td { border-color:#eee !important; }
1180
+ .compare-table tr.add-to-row { background-color:#fff; border-top:1px solid #ccc; }
1181
+ .compare-table tr.add-to-row:hover { background-color:#fff; } /* Cover background applied on tr hover */
1182
+ .compare-table tr.add-to-row td { text-align:left; }
1183
+ .compare-table tr.first td { text-align:left; }
1184
+ .compare-table tr.first td .product-name { font-family:inherit; font-size:1.1666em; font-weight:bold; margin:10px 0; }
1185
+ .compare-table tr.first td .ratings { width:145px; margin:10px 0; }
1186
+ .compare-table .price-box { margin:10px 0; line-height:15px; }
1187
+
1188
+ /* Changes after setting text-align:left */
1189
+ .compare-table .product-image img { display:block; margin:0 auto; }
1190
+ .compare-table .add-to-links { margin-top:5px; }
1191
+ .compare-table .add-to-links li { float:none; }
1192
+ .compare-table a.link-wishlist { overflow:visible; text-indent:0; background:none; display:inline; border:none; }
1193
+
1194
+
1195
+ /* Block: Recently Viewed
1196
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1197
+ */
1198
+ .block-viewed .block-content li.item {
1199
+ background:url(../images/img/bullet.png) no-repeat 0 10px;
1200
+ padding-left:10px;
1201
+ }
1202
+
1203
+
1204
+ /* Block: Recently Compared
1205
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1206
+ */
1207
+ .block-compared {}
1208
+
1209
+
1210
+ /* Block: Poll
1211
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1212
+ */
1213
+ .block-poll .block-subtitle { font-weight:normal; }
1214
+ .block-poll input.radio { float:left; margin:1px -18px 0 0; }
1215
+ .block-poll .label { display:block; margin-left:18px; }
1216
+ .block-poll li { padding:3px 9px; }
1217
+ .block-poll .answer { font-weight:bold; }
1218
+ .block-poll .votes { float:right; margin-left:10px; }
1219
+
1220
+
1221
+ /* Block: Tags
1222
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1223
+ */
1224
+ .block-tags .block-content .tags-list { background:none; border:0; font-size:12px; }
1225
+ .block-tags .tags-list a {}
1226
+ .block-tags .tags-list a:hover {}
1227
+ .block-tags .actions { text-align:right; }
1228
+ .block-tags .actions a { float:none; }
1229
+
1230
+
1231
+ /* Block: Subscribe
1232
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1233
+ */
1234
+ .block-subscribe .input-box { margin-top: 5px; }
1235
+ .block-subscribe input { width:155px; }
1236
+ .block-subscribe .actions button.button { float:none; }
1237
+
1238
+
1239
+ /* Block: Reorder
1240
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1241
+ */
1242
+ .block-reorder input.checkbox { float:left; margin:2px -20px 0 0; }
1243
+ .block-reorder .product-name { margin-left:20px; }
1244
+ .block-reorder .validation-advice { margin:3px 9px 7px; }
1245
+
1246
+
1247
+ /* Block: Banner
1248
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1249
+ */
1250
+ .block-banner {}
1251
+ .block-banner .block-content { text-align:center; }
1252
+
1253
+
1254
+ /* Block: Login
1255
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1256
+ */
1257
+ .block-login label { font-weight:bold; color:#666; }
1258
+ .block-login input.input-text { display:block; width:167px; margin:3px 0; }
1259
+
1260
+ /* Paypal
1261
+ -------------------------------------------------------------- */
1262
+ .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
1263
+ .sidebar .paypal-logo a { float:none; }
1264
+
1265
+
1266
+ /* Block: vertical main menu
1267
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1268
+ */
1269
+ .block-vertnav .block-content {
1270
+ padding-left:0;
1271
+ padding-right:0;
1272
+ }
1273
+
1274
+
1275
+
1276
+ /* Category view %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1277
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
1278
+
1279
+ .category-title { margin-bottom:0; }
1280
+ .category-title h1 {}
1281
+ .category-image { width:100%; overflow:hidden; margin:10px 0; text-align:center; }
1282
+ .category-image img {}
1283
+ .category-description { margin:20px 0; position:relative; }
1284
+
1285
+ /* Negative top margin: to cover bottom border of the category title */
1286
+ .category-products { margin:-1px 0 10px; }
1287
+
1288
+
1289
+ /* Common styles for products on product listings
1290
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1291
+ */
1292
+ .products-list .product-name,
1293
+ .products-grid .product-name,
1294
+ h3.product-name {
1295
+ /* Sizes are modified for different number of columns */
1296
+ font-size:1.3333em; line-height:1.25em; /*16px 20px*/
1297
+ }
1298
+
1299
+
1300
+ /* Common styles for View Types: List & Grid
1301
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1302
+ */
1303
+ .products-list .price-box.map-info a,
1304
+ .products-grid .price-box.map-info a { margin-left:3px; }
1305
+
1306
+ .products-list .alt-img,
1307
+ .products-grid .alt-img {
1308
+ position:absolute;
1309
+ top:0;
1310
+ left:0;
1311
+ opacity:0;
1312
+ filter:alpha(opacity=0);
1313
+ }
1314
+ .products-list .item:hover .alt-img,
1315
+ .products-grid .item:hover .alt-img {
1316
+ opacity:1;
1317
+ filter:alpha(opacity=100);
1318
+ }
1319
+
1320
+
1321
+ /* View Type: List
1322
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1323
+ */
1324
+ .products-list li.item {
1325
+ border-top:1px solid #e5e5e5;
1326
+ padding-top:20px;
1327
+ padding-bottom:20px;
1328
+
1329
+ transition: all 300ms ease-in-out;
1330
+ -moz-transition: all 300ms ease-in-out;
1331
+ -webkit-transition: all 300ms ease-in-out;
1332
+ -o-transition: all 300ms ease-in-out;
1333
+ }
1334
+ .products-list .product-shop {}
1335
+ .products-list .product-shop-inner { border-right:1px solid #e5e5e5; padding-right:15px }
1336
+ .products-list .right-column { float:right; }
1337
+
1338
+ .products-list .product-name { margin:0 0 15px; }
1339
+ .products-list .product-image { position:relative; text-align:center; }
1340
+ .products-list .price-box { margin:0 0 15px; font-size:1.3333em; line-height:1.25em; }
1341
+ .products-list .ratings { margin:10px 0; }
1342
+ .products-list .desc { margin:15px 0px; }
1343
+ .products-list .link-learn {}
1344
+ .products-list .btn-cart { width:100%; max-width:180px; }
1345
+ .products-list .button span { float:none; }
1346
+ .products-list .availability { float:none; margin:15px 0; }
1347
+ .products-list .add-to-links { margin:15px 0 0; }
1348
+
1349
+ /* Hover effect */
1350
+ .products-list.hover-effect .item:hover {
1351
+ margin-left:-1%;
1352
+ margin-right:-1%;
1353
+ padding-left:1%;
1354
+ padding-right:1%;
1355
+ z-index:10;
1356
+ box-shadow:0 0 20px rgba(0,0,0,0.2);
1357
+ background-color:#fff;
1358
+ }
1359
+
1360
+
1361
+ /* View Type: Grid
1362
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1363
+ */
1364
+
1365
+ /* Products grid: basic styles
1366
+ (common for all types of product grids)
1367
+ -------------------------------------------------------------- */
1368
+ .products-grid {}
1369
+ .products-grid .item {
1370
+ padding-top:20px;
1371
+ padding-bottom:20px;
1372
+ position:relative; /* For labels positionning (e.g. "new" and "sale") */
1373
+ }
1374
+ .products-grid .product-name { margin:15px 0 0; }
1375
+ .products-grid .product-image-wrapper { position:relative; margin:0 auto; }
1376
+ .products-grid .product-image { display:block; /*text-align:center;*/ }
1377
+ .products-grid .price-box { margin:5px 0 15px; font-size:1em; }
1378
+ .products-grid .ratings { margin:10px 0; }
1379
+ .products-grid .actions { margin:15px 0 0; }
1380
+ .products-grid .btn-cart { margin-right:10px; }
1381
+ .products-grid .availability { float:none; margin:15px 0; }
1382
+ .products-grid .add-to-links { margin:15px 0 0; }
1383
+
1384
+ /* Items of equal height - buttons and links displayed at the bottom of item
1385
+ -------------------------------------------------------------- */
1386
+ .products-grid.equal-height .item .actions { position:absolute; bottom:15px; }
1387
+
1388
+ /* Remove equal height */
1389
+ .products-grid.auto-height .item .actions { position:static; bottom:auto; }
1390
+
1391
+ /* Visibility of the grid item elements
1392
+ -------------------------------------------------------------- */
1393
+ /* Fade-in on hover */
1394
+ .products-grid .item .visible-onhover {
1395
+ visibility:hidden;
1396
+ opacity:0;
1397
+ transition: visibility 0s ease-in-out 600ms, opacity 300ms ease-in-out 300ms;
1398
+ -moz-transition: visibility 0s ease-in-out 600ms, opacity 300ms ease-in-out 300ms;
1399
+ -webkit-transition: visibility 0s ease-in-out 600ms, opacity 300ms ease-in-out 300ms;
1400
+ -o-transition: visibility 0s ease-in-out 600ms, opacity 300ms ease-in-out 300ms;
1401
+ }
1402
+ .products-grid .item:hover .visible-onhover {
1403
+ visibility:visible;
1404
+ opacity:1;
1405
+ transition: visibility 0s ease-in-out 0s, opacity 300ms ease-in-out 100ms;
1406
+ -moz-transition: visibility 0s ease-in-out 0s, opacity 300ms ease-in-out 100ms;
1407
+ -webkit-transition: visibility 0s ease-in-out 0s, opacity 300ms ease-in-out 100ms;
1408
+ -o-transition: visibility 0s ease-in-out 0s, opacity 300ms ease-in-out 100ms;
1409
+
1410
+ }
1411
+
1412
+ /* Display only on hover */
1413
+ .products-grid .item .display-onhover { display:none; }
1414
+
1415
+ /* Products grid: in category view
1416
+ -------------------------------------------------------------- */
1417
+ .category-products-grid .item {
1418
+ border-top:1px solid #e5e5e5;
1419
+ border-left:none;
1420
+ border-right:none;
1421
+ zoom:1;
1422
+ /*margin-bottom:10px;*/
1423
+ }
1424
+
1425
+ /* Hover effect */
1426
+ .category-products-grid.hover-effect .item:hover {
1427
+ margin-left:-1%;
1428
+ margin-right:-1%;
1429
+ padding-left:2%;
1430
+ padding-right:2%;
1431
+ z-index:10;
1432
+ box-shadow:0 0 20px rgba(0,0,0,0.2);
1433
+ background-color:#fff;
1434
+ border-color:transparent;
1435
+ }
1436
+
1437
+
1438
+ /* Override itemgrid in category view
1439
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1440
+ */
1441
+
1442
+ /* Font sizes
1443
+ -------------------------------------------------------------- */
1444
+ /* 4 columns */
1445
+ .category-products-grid.itemgrid-4col .product-name {
1446
+ font-size:1.25em; /*15px*/
1447
+ line-height:1.2em; /*18px*/
1448
+ }
1449
+ /* 5 columns */
1450
+ .category-products-grid.itemgrid-5col .product-name {
1451
+ font-size:1.0833em; /*13px*/
1452
+ line-height:1.2307em; /*16px*/
1453
+ }
1454
+ /* 6, 7, 8 columns */
1455
+ .category-products-grid.itemgrid-6col .product-name,
1456
+ .category-products-grid.itemgrid-7col .product-name,
1457
+ .category-products-grid.itemgrid-8col .product-name {
1458
+ font-size:1em; /*12px*/
1459
+ line-height:1.25em;/*15px*/
1460
+ }
1461
+
1462
+ /* Make button smaller
1463
+ -------------------------------------------------------------- */
1464
+ /* 5 columns */
1465
+ .category-products-grid.itemgrid-5col .item button.btn-cart span span {
1466
+ padding:7px 15px;
1467
+ height:auto;
1468
+ line-height:2em;
1469
+ }
1470
+ /* 6, 7, 8 columns */
1471
+ .category-products-grid.itemgrid-6col .item button.btn-cart span span,
1472
+ .category-products-grid.itemgrid-7col .item button.btn-cart span span,
1473
+ .category-products-grid.itemgrid-8col .item button.btn-cart span span {
1474
+ padding:3px 8px;
1475
+ height:auto;
1476
+ line-height:2em;
1477
+ }
1478
+
1479
+
1480
+
1481
+ /* Product view elements %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1482
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
1483
+
1484
+ /* Product labels
1485
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1486
+ */
1487
+
1488
+ /* Positionning
1489
+ -------------------------------------------------------------- */
1490
+ .sticker-wrapper {
1491
+ position:absolute;
1492
+ transition: all 150ms ease-in-out;
1493
+ -moz-transition: all 150ms ease-in-out;
1494
+ -webkit-transition: all 150ms ease-in-out;
1495
+ -o-transition: all 150ms ease-in-out;
1496
+ }
1497
+ .product-view .sticker-wrapper { z-index:99; /* On product page z-index gteater than Cloud Zoom image */ }
1498
+
1499
+ .sticker-wrapper.top-right { top:-3px; right:-3px; }
1500
+ .sticker-wrapper.bottom-right { bottom:-3px; right:-3px; }
1501
+ .sticker-wrapper.bottom-left { bottom:-3px; left:-3px; }
1502
+ .sticker-wrapper.top-left { top:-3px; left:-3px; }
1503
+
1504
+ /* Appearence
1505
+ -------------------------------------------------------------- */
1506
+ .sticker {
1507
+ width:60px;
1508
+ height:60px;
1509
+ border-radius:50%;
1510
+
1511
+ font-size:1.1666em;
1512
+ font-weight:bold;
1513
+ text-align:center;
1514
+
1515
+ display:table-cell;
1516
+ vertical-align:middle;
1517
+
1518
+ transition: all 150ms ease-in-out;
1519
+ -moz-transition: all 150ms ease-in-out;
1520
+ -webkit-transition: all 150ms ease-in-out;
1521
+ -o-transition: all 150ms ease-in-out;
1522
+ }
1523
+ .sticker.new {
1524
+ background-color:#5BD2EC;
1525
+ color:#fff;
1526
+ }
1527
+ .sticker.sale {
1528
+ background-color:#F12B63;
1529
+ color:#fff;
1530
+ }
1531
+
1532
+ /* Effects */
1533
+ .item:hover .sticker { width:70px; height:70px; }
1534
+ .item:hover .sticker-wrapper.top-right,
1535
+ .item:hover .sticker-wrapper.top-left { top:-8px; }
1536
+ .item:hover .sticker-wrapper.top-right { right:-8px; }
1537
+ .item:hover .sticker-wrapper.top-left { left:-8px; }
1538
+
1539
+
1540
+ /* Rating
1541
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1542
+ */
1543
+ .ratings,
1544
+ .no-rating { line-height:1.0833em; margin:15px 0 15px; }
1545
+ .ratings a { line-height:1.0833em; }
1546
+ .ratings strong { float:left; margin:1px 5px 0 0; }
1547
+ .ratings .rating-links .separator {
1548
+ display:inline-block;
1549
+ text-indent:-9999px;
1550
+ width:1px;
1551
+ background:url(../images/img/bg-separator1.gif) no-repeat;
1552
+ }
1553
+ .ratings dt {}
1554
+ .ratings dd {}
1555
+ .rating-box { width:69px; height:13px; font-size:0; line-height:0; background:url(../images/img/rating.png) 0 0 repeat-x; text-indent:-999em; overflow:hidden; }
1556
+ .rating-box .rating { float:left; height:13px; background:url(../images/img/rating.png) 0 100% repeat-x; }
1557
+ .ratings .rating-box { float:left; margin-right:8px; }
1558
+ .ratings .amount { white-space:nowrap; font-size:10px; text-transform:uppercase; }
1559
+
1560
+ .ratings-table th,
1561
+ .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
1562
+ .ratings-table th { padding-right:8px; }
1563
+
1564
+
1565
+ /* Availability
1566
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1567
+ */
1568
+ .availability { float:right; margin:15px 0; }
1569
+
1570
+ /* Availability - with details */
1571
+ .availability-only { margin:15px 0; }
1572
+ a.availability-only { cursor:pointer; }
1573
+ .availability-only strong { font-weight:normal; }
1574
+ .availability-only .caret { margin-left:8px; opacity:1; filter:alpha(opacity=100); }
1575
+
1576
+ .availability-only-details { width:100%; margin:-10px auto 20px; }
1577
+ .availability-only-details thead { border-bottom:1px solid #e5e5e5; }
1578
+ .availability-only-details th { padding:4px 12px; font-weight:bold; }
1579
+ .availability-only-details td { padding:1px 12px; border-right:1px solid #f5f5f5; }
1580
+ .availability-only-details td.last { border-right:none; }
1581
+
1582
+ /* Product increments */
1583
+ .product-pricing { line-height:1.25em; /* 15px TODO: change */ }
1584
+ .extrahint-wrapper .product-pricing { padding:10px; background-color:#f5f5f5; }
1585
+ .product-options-bottom .product-pricing { clear:left; }
1586
+
1587
+
1588
+ /* Alerts
1589
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1590
+ */
1591
+ .alert-price,
1592
+ .alert-stock { padding:2px 0 2px 25px; line-height:15px; }
1593
+ .alert-price { background:url(../images/img/icons.png) 0 -120px no-repeat; }
1594
+ .alert-stock { background:url(../images/img/icons.png) 0 -160px no-repeat; }
1595
+
1596
+
1597
+ /* Product Prices
1598
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1599
+ */
1600
+ .price { white-space:nowrap !important; }
1601
+
1602
+ .price-box { margin: 0; }
1603
+ .price-box .price { }
1604
+ .price-box .price-label { }
1605
+
1606
+ /* Common labels */
1607
+ .old-price .price-label,
1608
+ .special-price .price-label { white-space:nowrap; }
1609
+ .old-price .price-label { display:none; }
1610
+
1611
+ /* Regular price */
1612
+ .regular-price {}
1613
+ .regular-price .price {}
1614
+ .block .regular-price,
1615
+ .block .regular-price .price {}
1616
+
1617
+ /* Old price */
1618
+ .old-price { margin:0; }
1619
+ .old-price .price { text-decoration:line-through; }
1620
+
1621
+ /* Special price */
1622
+ .special-price { margin:0; padding:0; }
1623
+ .special-price .price,
1624
+ .special-price .price-label { color:#ee001c !important; /* Overide color change on product grid/list */ }
1625
+ .special-price .price-excluding-tax .price { }
1626
+
1627
+ /* Minimal price (as low as) */
1628
+ .minimal-price { margin:0 0 5px; }
1629
+ .minimal-price .price {}
1630
+ .minimal-price .price-label { white-space:nowrap; }
1631
+
1632
+ .minimal-price-link { display:block; }
1633
+ .minimal-price-link .label,
1634
+ .minimal-price-link .price {}
1635
+
1636
+ /* Excluding tax */
1637
+ .price-excluding-tax { display:block; }
1638
+ .price-excluding-tax .label { white-space:nowrap; }
1639
+ .price-excluding-tax .price { font-weight:normal; }
1640
+
1641
+ /* Including tax */
1642
+ .price-including-tax { display:block; }
1643
+ .price-including-tax .label { white-space:nowrap; }
1644
+ .price-including-tax .price {}
1645
+
1646
+ /* Configured price */
1647
+ .configured-price { margin:0; }
1648
+ .configured-price .price-label { font-weight:bold; white-space:nowrap; }
1649
+ .configured-price .price { font-weight:bold; }
1650
+
1651
+ /* FPT */
1652
+ .weee { display:block; font-size:11px; }
1653
+ .weee .price { font-size:11px; font-weight:normal; }
1654
+
1655
+ /* Excl tax (for order tables) */
1656
+ .price-excl-tax { display:block; }
1657
+ .price-excl-tax .label { display:block; white-space:nowrap; }
1658
+ .price-excl-tax .price { display:block; }
1659
+
1660
+ /* Incl tax (for order tables) */
1661
+ .price-incl-tax { display:block; }
1662
+ .price-incl-tax .label { display:block; white-space:nowrap; }
1663
+ .price-incl-tax .price { display:block; font-weight:bold; }
1664
+
1665
+ /* Price range */
1666
+ .price-from { margin:0; }
1667
+ .price-from .price-label { white-space:nowrap; }
1668
+
1669
+ .price-to { margin:0; }
1670
+ .price-to .price-label { white-space:nowrap; }
1671
+
1672
+ /* Price notice next to the options */
1673
+ .price-notice { margin-left:5px; }
1674
+ .price-notice .price { padding-left:3px; }
1675
+
1676
+ /* Price as configured */
1677
+ .price-as-configured {}
1678
+ .price-as-configured .price-label { font-weight:bold; white-space:nowrap; color:inherit; }
1679
+
1680
+ .price-box-bundle .price-box { margin:0 !important; padding:0 !important; border:none !important; }
1681
+
1682
+
1683
+ /* Tier Prices
1684
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1685
+ */
1686
+ .tier-prices { margin:0 0 15px 15px; }
1687
+ .tier-prices li { line-height:15px; background:url(../images/img/bullet.png) 0 4px no-repeat; padding:0 0 0 11px; margin:3px 0; }
1688
+ .tier-prices .benefit { color:#d90000; font-weight:normal; }
1689
+
1690
+ .tier-prices-grouped li { padding:2px 0; }
1691
+ .tier-prices-grouped li .price { font-weight:bold; }
1692
+
1693
+
1694
+ /* Add-to links
1695
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1696
+ */
1697
+ .add-to-links .separator { display:none; }
1698
+ .add-to-links li { float:left; }
1699
+
1700
+ .addto-gaps-right li { margin-right:10px; } /* Add gaps at the right side of links */
1701
+
1702
+ /* Add-to links as icons (with no text)
1703
+ -------------------------------------------------------------- */
1704
+ .addto-icons a.link-wishlist,
1705
+ .addto-icons a.link-compare,
1706
+ .addto-icons a.email-friend {
1707
+ display:block;
1708
+ padding:0;
1709
+ margin:0;
1710
+ width:27px;
1711
+ height:27px;
1712
+ text-indent:-9999em;
1713
+ overflow:hidden;
1714
+ background:url(../images/img/pix.png) no-repeat;
1715
+ background-color:#fff;
1716
+ /*border:1px solid #f5f5f5;*/
1717
+ }
1718
+ .addto-icons a.link-wishlist:hover,
1719
+ .addto-icons a.link-compare:hover,
1720
+ .addto-icons a.email-friend:hover { background-color:#fff; }
1721
+
1722
+ .addto-icons a.link-wishlist { background-position:-27px 0; }
1723
+ .addto-icons a.link-wishlist:hover { background-position:-27px -27px; }
1724
+
1725
+ .addto-icons a.link-compare { background-position:0 0; }
1726
+ .addto-icons a.link-compare:hover { background-position:0 -27px; }
1727
+
1728
+ .addto-icons a.email-friend { background-position:-54px 0; }
1729
+ .addto-icons a.email-friend:hover { background-position: -54px -27px; }
1730
+
1731
+ /* If displayed in a group: add margin between icons */
1732
+ .add-to-links.addto-icons .link-compare,
1733
+ .add-to-links.addto-icons .email-friend { margin-left:3px; }
1734
+
1735
+ /* If displayed on product image */
1736
+ .add-to-links.addto-onimage {
1737
+ float:right;
1738
+ margin-top:-31px; /* Move up: height (29px) + 2 additional pixels */
1739
+ position:relative;
1740
+ z-index:1;
1741
+ padding-bottom:4px; /* Use padding to cover the image below icons. */
1742
+ padding-right:4px;
1743
+ }
1744
+
1745
+ /* Add-to links as text (with simple icons).
1746
+ Obsolete (will be removed in next version). Uncomment if necessary
1747
+ -------------------------------------------------------------- */
1748
+ /*.addto-texticons a.link-wishlist,
1749
+ .addto-texticons a.link-compare,
1750
+ .addto-texticons a.email-friend {
1751
+ display:block;
1752
+ padding:2px 0 2px 19px;
1753
+ margin:0 13px 3px 0;
1754
+ line-height:15px;
1755
+
1756
+ background:url(../images/img/icons.png) no-repeat;
1757
+ background-color:transparent !important;
1758
+ width:auto;
1759
+ height:auto;
1760
+ text-indent:0;
1761
+ overflow:visible;
1762
+ border:none;
1763
+ border-radius:0;
1764
+ }
1765
+ .addto-texticons a.link-wishlist { background-position:0 -1px;}
1766
+ .addto-texticons a.link-compare { background-position:0 -40px; }
1767
+ .addto-texticons a.email-friend { background-position:0 -80px;}*/
1768
+
1769
+
1770
+ /* Add to Cart
1771
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1772
+ */
1773
+ .add-to-cart .qty-wrapper {}
1774
+ .add-to-cart label { margin-left:10px; }
1775
+ .add-to-cart .qty { text-align:center; margin-right:10px; }
1776
+ .add-to-cart .button {}
1777
+
1778
+ .product-view .add-to-cart { float:left; }
1779
+ .product-view .paypal-wrapper { float:left; }
1780
+ .product-view .paypal-wrapper .paypal-logo { margin:0; padding:5px 0 0; text-align:right; }
1781
+ .product-view .paypal-wrapper .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
1782
+
1783
+ /* Magento's default */
1784
+ .add-to-cart .paypal-logo { clear:left; margin:0; padding:10px 0 0; text-align:right; }
1785
+ .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
1786
+
1787
+
1788
+
1789
+ /* Product page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1790
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
1791
+
1792
+ /* Basic product page sections
1793
+ -------------------------------------------------------------- */
1794
+ /* Generic wrapper for product page collaterals */
1795
+ .product-view .box-additional { margin-top:30px; }
1796
+ .product-view .box-tabs {}
1797
+ .product-view .box-sidebar {}
1798
+ .product-view .box-up-sell {}
1799
+
1800
+
1801
+ /* Product images
1802
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1803
+ */
1804
+ .product-view .product-img-column { float:left; }
1805
+ .col3-layout .product-view .product-img-column { float:none; margin:0 auto; }
1806
+
1807
+
1808
+ /* Product main column
1809
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1810
+ */
1811
+ .product-view .product-shop { float:left; }
1812
+ .product-view .product-shop .product-name { margin:0 0 1.6666em; /*20px*/ }
1813
+ .product-view .product-shop .product-name h1 { margin:0; }
1814
+ .product-view .product-shop .ratings-table { margin:15px 0 5px; }
1815
+
1816
+
1817
+ /* Product Secondary Column
1818
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1819
+ */
1820
+ .product-secondary-column .inner { min-height:300px; padding-bottom:10px; /* Stop collapsing margins */ }
1821
+
1822
+
1823
+ /* Product main column elements
1824
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1825
+ */
1826
+ .product-view .short-description { margin:15px 0; line-height:1.25em; /*15px*/ }
1827
+ .product-view .short-description ul { margin-top:5px; margin-bottom:5px; }
1828
+ .product-view .add-to-cart { margin-top:15px; }
1829
+
1830
+ /* Price box inside "Add-to-cart" box */ /*deprecated*/
1831
+ .product-view .add-to-box .price-box { float:left; margin:7px 0 0; }
1832
+
1833
+ /* Add-to links */
1834
+ .product-view .action-box { margin:20px 0; }
1835
+ /*.product-view .add-to-links li { font-size:1.1666em; }*/ /*14px*/
1836
+
1837
+ /* Other elements */
1838
+ .extrahint-wrapper { margin-bottom:15px; }
1839
+
1840
+
1841
+ /* Grouped product
1842
+ -------------------------------------------------------------- */
1843
+ .product-view .product-type-data.is-grouped { padding:0; background-color:transparent; }
1844
+ /* Align right instead of float right */
1845
+ .product-view .product-type-data.is-grouped .out-of-stock { float:none; text-align:right; }
1846
+
1847
+ /* Downloadable product
1848
+ -------------------------------------------------------------- */
1849
+ .product-type-data.is-downloadable .price-box { margin:0 0 10px; }
1850
+ .product-type-data .item-options dt { float:none; margin:0 0 5px; }
1851
+ /* Same as "item-options" in cart */
1852
+ .product-type-data .item-options dd { background:url(../images/img/bullet.png) 3px 4px no-repeat; padding-left:15px; }
1853
+
1854
+ /* Additional information table
1855
+ -------------------------------------------------------------- */
1856
+ .product-view .data-table th { font-weight:bold; }
1857
+
1858
+
1859
+ /* Prices. Common for product view and MAP popup.
1860
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1861
+ */
1862
+ /* Font for all prices on product page and MSRP */
1863
+ .product-view .price-box .price,
1864
+ .map-popup-price .price,
1865
+ .map-popup-msrp .price { font-family:Verdana, Geneva, sans-serif; }
1866
+ .product-view .product-shop .price-box { margin:5px 0 10px; }
1867
+ .product-view .product-shop .price-box .price-including-tax .price { font-size:18px; }
1868
+ .product-view .product-shop .price-box .price-excluding-tax .price { font-size:inherit; }
1869
+
1870
+ /* Main price (prominent) */
1871
+ .product-view .product-shop .price-box .regular-price .price,
1872
+ .product-view .product-shop .price-box .special-price .price,
1873
+ .product-view .product-shop .price-box .price-including-tax .price,
1874
+ .product-view .product-options-bottom .price-box .regular-price .price,
1875
+ .product-view .price-as-configured .price,
1876
+ .map-popup-price .regular-price .price,
1877
+ .product-view .product-shop .price-box.map-info .old-price .price { font-size:1.6666em; /*20px*/ }
1878
+
1879
+ /* Tier price */
1880
+ .tier-prices .price { /*color:#ce001a;*/ }
1881
+
1882
+ /* Old price */
1883
+ .product-view .product-shop .price-box .old-price .price-label { white-space:nowrap; display:none; }
1884
+
1885
+ /* MSRP price (only in MSRP box) */
1886
+ .map-popup-msrp .price {
1887
+ display:block; /* Move price below the label */
1888
+ text-decoration:line-through; /* Override default built-in line */
1889
+ }
1890
+ /* Move MSRP links below the price */
1891
+ .product-view .product-shop .price-box.map-info .old-price { display:block; }
1892
+
1893
+ /* Special price */
1894
+ .product-view .product-shop .price-box .special-price { margin:-2px 0 0; white-space:nowrap; /*Chrome*/ }
1895
+ .product-view .product-shop .price-box .special-price .price-label { white-space:nowrap; }
1896
+ .product-view .product-shop .price-box .special-price .price-including-tax,
1897
+ .product-view .product-shop .price-box .special-price .price-excluding-tax { padding:0 0 0 15px; }
1898
+
1899
+ /* Bundle product */
1900
+ .price-box-bundle {
1901
+ border-bottom:1px solid #e5e5e5;
1902
+ margin:-10px 0 15px; /* Move up to align with the main price box */
1903
+ padding-bottom:15px;
1904
+ }
1905
+
1906
+
1907
+ /* Containers for: add-to-cart & product options
1908
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1909
+ */
1910
+
1911
+ /* Product type-specific data*/
1912
+ .product-view .product-type-data { margin:15px 0 0; }
1913
+
1914
+ /* Margin before price box */
1915
+ .space-before-avail { margin:0 0 15px; height:0; line-height:0; }
1916
+
1917
+ /* Upper part of the container */
1918
+ .product-view .product-type-data .price-box {
1919
+ border-top:1px solid #e5e5e5;
1920
+ margin:15px 0 0;
1921
+ padding:15px 0;
1922
+ }
1923
+
1924
+ /* Lower part of the container */
1925
+ .container1-wrapper,
1926
+ .container2-wrapper,
1927
+ .product-view .add-to-box {
1928
+ padding:0 0 15px;
1929
+ margin:0 0 15px;
1930
+ border-bottom:1px solid #e5e5e5;
1931
+ }
1932
+
1933
+ .container2-wrapper {
1934
+ border-bottom:1px solid #e5e5e5;
1935
+ padding:15px;
1936
+ }
1937
+
1938
+ /*.product-view .product-type-data,
1939
+ .container1-wrapper,
1940
+ .container2-wrapper,
1941
+ .product-view .add-to-box {}*/
1942
+
1943
+
1944
+ /* Other elements
1945
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1946
+ */
1947
+ /* Unordered list in product description */
1948
+ .product-view .short-description .std ul,
1949
+ .product-view .box-tabs .std ul { list-style:none outside none; }
1950
+ .product-view .short-description .std ul li,
1951
+ .product-view .box-tabs .std ul li { background:url(../images/infortis/_shared/cck/list/bullet.png) 0 0 no-repeat; padding-left:25px; }
1952
+
1953
+ /* Margin for list in long description */
1954
+ .product-view .box-tabs .std ul { margin-bottom:1em; }
1955
+
1956
+
1957
+ /* Product options
1958
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1959
+ */
1960
+ .product-options { position:relative; }
1961
+ .product-options dt { font-weight:normal; }
1962
+ .product-options dt label { display:inline-block; font-weight:bold; }
1963
+ .product-options dt label.required em { float:right; margin-left:3px; }
1964
+ .product-options dd .qty-holder { display:block; padding:5px 0 0; }
1965
+ .product-options dd .qty-holder label { vertical-align:middle; }
1966
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; }
1967
+ .product-options dd { margin:3px 0 10px; }
1968
+ .product-options dl.last dd.last { border-bottom:0; }
1969
+ .product-options dd input.input-text { width:98%; }
1970
+ .product-options dd input.datetime-picker { width:150px; }
1971
+ .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
1972
+ .product-options dd textarea { width:98%; height:8em; }
1973
+ .product-options dd select { width:100%; }
1974
+ .product-options dd .multiselect option { border-bottom:1px dotted #d9e5ee; padding:2px 4px; }
1975
+ .product-options ul.options-list { margin-right:5px; }
1976
+ .product-options ul.options-list li { line-height:1.5; padding:2px 0; }
1977
+ .product-options ul.options-list input.radio { float:left; }
1978
+ .product-options ul.options-list input.checkbox { float:left; }
1979
+ .product-options ul.options-list .label { display:block; margin-left:18px; }
1980
+ .product-options ul.options-list label { font-weight:normal; }
1981
+ .product-options ul.validation-failed { padding:0 7px; }
1982
+ .product-options p.note { margin:0; font-size:11px; }
1983
+ .product-options p.required { position:absolute; right:0; top:-15px; }
1984
+
1985
+ /* Override form colors */
1986
+ .product-options dd select,
1987
+ .product-options dd .input-text,
1988
+ .product-options dd textarea,
1989
+ .product-options ul.options-list { color:#888; border-color:#ddd; }
1990
+ .product-options dd select:hover,
1991
+ .product-options dd select:focus,
1992
+ .product-options dd textarea:hover,
1993
+ .product-options dd textarea:focus,
1994
+ .product-options ul.options-list:hover { color:#333; border-color:#aaa; }
1995
+
1996
+ /*bottom*/
1997
+ .product-options-bottom { margin-top:20px; }
1998
+ .product-options-bottom .tier-prices { margin:0; padding:0 0 10px; border:0; background:0; }
1999
+ .product-options-bottom .tier-prices li { background:0; padding:2px 0; }
2000
+ .product-options-bottom .price-box { float:left; margin:7px 0 0; padding:0; }
2001
+ .product-options-bottom .price-box .price-as-configured { margin:5px 0 0; }
2002
+ .col3-layout .product-options-bottom .price-box { float:none; padding:0 0 5px; }
2003
+ .product-options-bottom .price-label {}
2004
+ .product-options-bottom .price-tax { float:left; }
2005
+ .product-shop .product-options-bottom { margin:0; }
2006
+ .product-shop .product-options-bottom .price-label { float:none; padding-right:0; }
2007
+ .product-shop .product-options-bottom .price-tax { float:none; }
2008
+ .product-shop .product-options-bottom .add-to-cart-box { clear:both; float:left; padding-top:12px; }
2009
+
2010
+
2011
+ /* Grouped Product
2012
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2013
+ */
2014
+ .product-view .grouped-items-table { margin:0 0 15px; }
2015
+ .product-view .grouped-items-table thead th { font-weight:bold; }
2016
+ .product-view .grouped-items-table .price-box { margin:0; padding:0; border:0; }
2017
+ .product-view .grouped-items-table .price-box .price-including-tax .price { font-size:15px; }
2018
+
2019
+ .product-view .grouped-items-table td { vertical-align:middle; }
2020
+ .product-view .grouped-items-table .price-box .regular-price .price { font-size:14px; }
2021
+
2022
+
2023
+ /* Product collateral blocks
2024
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2025
+ */
2026
+ /* Hide first h2 heading (which is the same as tab text) */
2027
+ .box-tabs .panel > h2:first-child { display:none; }
2028
+
2029
+
2030
+ /* Block: Tags
2031
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2032
+ */
2033
+ .product-view .box-tags .product-tags { display:block; margin:0 0 25px; }
2034
+ .product-view .box-tags .product-tags li { display:inline; padding:0 7px; border-right:1px solid #e5e5e5; }
2035
+ .product-view .box-tags .product-tags li.first { padding-left:0; }
2036
+ .product-view .box-tags .product-tags li.last { padding-right:0; border-right:0; }
2037
+ .product-view .box-tags .form-add label { display:block; font-weight:bold; margin:0 0 5px; }
2038
+ .product-view .box-tags .form-add .input-box { float:left; margin:0 5px 5px 0; }
2039
+ .product-view .box-tags .form-add input.input-text { width:auto; }
2040
+ .product-view .box-tags .note { margin:3px 0 0; font-size:0.9166em; /*11px*/ }
2041
+
2042
+
2043
+ /* Block: Reviews
2044
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2045
+ */
2046
+ .product-view .box-reviews { margin-top:15px; }
2047
+ .product-view .box-reviews dl { margin:0 0 15px; }
2048
+ .product-view .box-reviews dt .heading { font-weight:normal; font-size:1.5em; margin-right:10px; }
2049
+ .product-view .box-reviews dt span { font-weight:bold; }
2050
+ .product-view .box-reviews dt a { font-size:18px; margin-right:8px; }
2051
+ .product-view .box-reviews dd { margin:0 0 15px 15px; padding-bottom:15px; border-bottom:1px dashed #e5e5e5; }
2052
+ .product-view .box-reviews dd .date { display:block; margin-top:3px; font-style:italic; }
2053
+ .product-view .box-reviews .ratings-table { margin:5px 0; }
2054
+
2055
+ .product-view .box-reviews .form-add { padding:15px 0 0; }
2056
+ .product-view .box-reviews .form-add h2 { text-transform:uppercase; }
2057
+ .product-view .box-reviews .form-add h3 { font-size:1em; font-weight:normal; margin-bottom:0; }
2058
+ .product-view .box-reviews .form-add h3 span { font-weight:bold; }
2059
+ .product-view .box-reviews .form-add h4 { font-size:1em; font-weight:normal; }
2060
+ .product-view .box-reviews .form-add h3,
2061
+ .product-view .box-reviews .form-add h4 { font-family:inherit; }
2062
+ .product-view .box-reviews .form-add .form-list { margin:15px 0 0; }
2063
+ .product-view .box-reviews .form-add .form-list .input-box {}
2064
+ .product-view .box-reviews .form-add .form-list input.input-text { width:100%; max-width:340px; }
2065
+ .product-view .box-reviews .form-add .form-list textarea { width:100%; max-width:500px; }
2066
+ .product-view .box-reviews .buttons-set button.button { float:left; margin-left:0; }
2067
+
2068
+ .product-view .box-reviews .form-add .data-table { max-width:176px; }
2069
+ .product-view .box-reviews .form-add .data-table th,
2070
+ .product-view .box-reviews .form-add .data-table td { text-align:center; line-height:1em; }
2071
+ .product-view .box-reviews .form-add .data-table td .radio { margin:0; }
2072
+
2073
+
2074
+ /* Send a Friend
2075
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2076
+ */
2077
+ .send-friend .form-list li p { margin:0 15px 0 0; }
2078
+ .send-friend .form-list .field { margin-bottom:8px; }
2079
+ .send-friend .form-list textarea { width:100%; }
2080
+ .send-friend .buttons-set .limit { float:right; margin:0 7px; }
2081
+
2082
+
2083
+
2084
+ /* Content Styles %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2085
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2086
+
2087
+ .product-name { margin:0; font-weight:normal; }
2088
+
2089
+ /* Product Tags */
2090
+ .tags-list li { display:inline; }
2091
+
2092
+ /* Advanced Search */
2093
+ .advanced-search-summary { padding:20px; margin:10px 0; }
2094
+ .advanced-search-summary ul { float:left; margin:0 4% 10px 0; width:46%; }
2095
+ .advanced-search-summary li { margin:0 0 2px 0; font-size:1.25em; }
2096
+ .advanced-search-summary strong { margin:0 5px 0 0; }
2097
+ .advanced-search-summary p { clear:both; float:left; display:block; margin:20px 0 0; }
2098
+
2099
+ /* Advanced Search - form */
2100
+ .advanced-search .form-list label { padding-right:10px; width:140px; }
2101
+ .advanced-search .form-list .input-box,
2102
+ .advanced-search .form-list .input-range { clear:none; float:left; }
2103
+ .catalogsearch-advanced-index .fieldset { margin-bottom:3px; }
2104
+ .catalogsearch-advanced-index .buttons-set { padding-left:0; }
2105
+ .catalogsearch-advanced-index .buttons-set button.button { float:left; margin:0; }
2106
+ .catalogsearch-advanced-index .buttons-set button.button span span { padding-left:60px; padding-right:68px; }
2107
+
2108
+ /* Sitemap */
2109
+ .page-sitemap .links { float:right; margin:0 0 5px; text-align:center; }
2110
+ .page-sitemap .links a { text-decoration:none; position:relative; }
2111
+ .page-sitemap .sitemap { margin:15px; }
2112
+ .page-sitemap .sitemap li { margin:3px 0; }
2113
+ .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
2114
+ .page-sitemap .sitemap li.level-0 a {}
2115
+ .page-sitemap .pager { clear:both; }
2116
+
2117
+ /* RSS */
2118
+ .rss-title h1 { background:url(../images/i_rss-big.png) 0 center no-repeat; padding-left:30px; }
2119
+ .rss-table .link-rss { display:block; }
2120
+
2121
+
2122
+
2123
+ /* Shopping Cart %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2124
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2125
+
2126
+ /* Checkout Types
2127
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2128
+ */
2129
+ .cart .page-title .checkout-types li { margin:0 0 5px; }
2130
+ .cart .title-buttons .checkout-types { float:right; }
2131
+ .cart .title-buttons .checkout-types li { float:left; margin:0 0 5px 5px; }
2132
+
2133
+
2134
+ /* Shopping Cart Table
2135
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2136
+ */
2137
+ .cart-table thead tr { border-bottom:1px solid #e5e5e5; }
2138
+ .cart-table th.last { border-right:none; }
2139
+
2140
+ .cart-table .product-image { width:168px; display:block; }
2141
+ .cart-table .product-name { margin:0 0 10px; font-weight:normal; font-size:1.6666em; line-height:1.2em; /*20px, 24px*/ }
2142
+ .cart-table .item-msg { margin:5px 0; font-size:0.9166em; font-weight:bold; color:#d90000; }
2143
+ .cart-table tfoot td { padding:5px 10px; border:none; }
2144
+
2145
+ /* Buttons
2146
+ -------------------------------------------------------------- */
2147
+ .cart-table tfoot td.last { padding:15px 0 0; border-bottom:1px solid #eee; }
2148
+ .cart-table tfoot button { padding:0; margin:0 0 15px 10px; }
2149
+ .cart-table .btn-continue { float:left; margin-left:0; }
2150
+ .cart-table .btn-update,
2151
+ .cart-table .btn-empty { float:right; }
2152
+
2153
+
2154
+ /* Shopping Cart Collateral blocks
2155
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2156
+ */
2157
+ .cart-collaterals { margin-top:20px; }
2158
+ .cart .cart-left-column > *,
2159
+ .cart .cart-right-column > * { margin-bottom:20px; }
2160
+ .cart .cart-right-column { float:right; }
2161
+
2162
+
2163
+ /* Cross-sell
2164
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2165
+ */
2166
+ .cart .crosssell .product-image { float:left; }
2167
+ .cart .crosssell .product-details { margin-left:85px; }
2168
+ .cart .crosssell .btn-cart { float:left; margin-right:10px; }
2169
+ .cart .crosssell .add-to-links { float:left; margin:12px 0 0; }
2170
+ .cart .crosssell .price-box { margin:7px 0; }
2171
+ .cart .crosssell li.item { padding:20px 0; }
2172
+ .cart .crosssell li.item.odd { margin-left:0; clear:left; }
2173
+ .cart .crosssell li.item.even { margin-right:0; float:right; }
2174
+
2175
+ /*
2176
+ -------------------------------------------------------------- */
2177
+ .cart-wide-box .crosssell li.item { float:left; width:265px; min-height:109px; }
2178
+ .cart-wide-box .crosssell li.item.odd { padding-right:20px; border-right:1px solid #eee; }
2179
+ .cart-wide-box .crosssell li.item.even { padding-left:20px; }
2180
+
2181
+
2182
+ /* Common styles: Cross-sell, Discount Codes, Estimate Shipping
2183
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2184
+ */
2185
+ .cart .discount,
2186
+ .cart .shipping,
2187
+ .cart .crosssell { padding:10px; }
2188
+ .cart .crosssell h2,
2189
+ .cart .discount h2,
2190
+ .cart .shipping h2 { margin-bottom:10px; }
2191
+ .cart .discount .buttons-set,
2192
+ .cart .shipping .buttons-set { margin:10px 0 0; border:0; padding:0; text-align:left; }
2193
+ .cart .discount .buttons-set button.button,
2194
+ .cart .shipping .buttons-set button.button { float:none; margin-left:0; }
2195
+
2196
+
2197
+ /* Discount Codes (coupons)
2198
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2199
+ */
2200
+ .cart .discount label { display:block; margin:0 0 5px; }
2201
+ .cart .discount .input-box { margin:0 9px 0 0; }
2202
+ .cart .discount input.input-text { width:100%; }
2203
+ .cart .discount .buttons-set { margin:10px 0 0; }
2204
+
2205
+
2206
+ /* Estimate Shipping
2207
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2208
+ */
2209
+ .cart .shipping input.input-text,
2210
+ .cart .shipping select { width:100%; }
2211
+ .cart .shipping p { margin-bottom:10px; }
2212
+ .cart .shipping .sp-methods { margin:10px 0 0; }
2213
+
2214
+
2215
+ /* Shopping Cart Totals
2216
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2217
+ */
2218
+ .cart .totals { background-color:#f5f5f5; }
2219
+ .cart .totals-inner { padding:20px; }
2220
+ .cart .totals table { width:100%; }
2221
+ .cart .totals td { padding:1px 0px 1px 7px; }
2222
+ .cart .totals tr.last td {}
2223
+ .cart .totals tfoot th { padding:5px 15px 5px 7px; }
2224
+ .cart .totals tfoot td { padding-bottom:5px; }
2225
+ .cart .totals tfoot th strong,
2226
+ .cart .totals tfoot td strong { font-size:16px; }
2227
+ /*.cart .totals tfoot .price { color:#B31F5A; } */
2228
+ .cart .totals .checkout-types { text-align:right; }
2229
+ .cart .totals .checkout-types li { clear:both; margin:10px 0; }
2230
+
2231
+
2232
+ /* Cart static blocks
2233
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2234
+ */
2235
+
2236
+ /* Item Options and Options Tool Tip
2237
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2238
+ */
2239
+ .item-options { line-height:15px; }
2240
+ .item-options dt { white-space:nowrap; float:left; margin-right:7px; }
2241
+ .item-options dd { padding-left:11px; margin:0 0 2px; }
2242
+
2243
+ /* Item options in cart/checkout tables */
2244
+ .data-table .item-options dt {
2245
+ background:url(../images/img/bullet.png) 0 4px no-repeat;
2246
+ padding-left:10px;
2247
+ white-space:normal; /* Override 'nowrap' */
2248
+ }
2249
+ .data-table .item-options { margin:0 0 0 10px; }
2250
+
2251
+ /* Options Tool Tip
2252
+ -------------------------------------------------------------- */
2253
+ .truncated { cursor:help; display:inline-block; margin-left:3px; }
2254
+ .truncated a.dots { cursor:help; }
2255
+ .truncated a.details { cursor:help; text-decoration:none; border-bottom:1px dotted #ccc; }
2256
+ .truncated .truncated_full_value { position:relative; z-index:999; }
2257
+ .truncated .truncated_full_value .item-options { position:absolute; top:-99999em; left:-99999em; z-index:999; padding:8px; min-width:100px; }
2258
+ .truncated .truncated_full_value .item-options > p { font-weight:bold; text-transform:uppercase; }
2259
+ .truncated .show .item-options { top:-20px; left:50%; }
2260
+ .col-left .truncated .show .item-options { left:15px; top:7px; }
2261
+ .col-right .truncated .show .item-options { left:-240px; top:7px; }
2262
+
2263
+
2264
+
2265
+ /* Checkout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2266
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2267
+
2268
+ /********** < Common Checkout Styles */
2269
+ /* Shipping and Payment methods */
2270
+ .sp-methods dt { font-weight:bold; margin:10px 0; }
2271
+ .sp-methods dd {}
2272
+ .sp-methods dd li { margin: 5px 0; }
2273
+ .sp-methods .price { font-weight:bold; }
2274
+ .sp-methods .form-list { padding:10px 10px 10px 30px; }
2275
+ .sp-methods select.month { width:150px; margin-right:10px; }
2276
+ .sp-methods select.year { width:96px; }
2277
+ .sp-methods input.cvv { width:3em !important; }
2278
+
2279
+ .sp-methods .checkmo-list li {}
2280
+ .sp-methods .checkmo-list label { padding-right:10px; }
2281
+ .sp-methods .checkmo-list address { float:left; }
2282
+
2283
+ .sp-methods .centinel-logos a { margin-right:3px; }
2284
+ .sp-methods .centinel-logos img { vertical-align:middle; }
2285
+
2286
+ .please-wait { float:right; margin-right:5px; }
2287
+ .please-wait img { vertical-align:middle; }
2288
+ .cvv-what-is-this { cursor:help; margin-left:5px; }
2289
+
2290
+ /* Tooltip */
2291
+ .tool-tip { background-color:#fff; padding:10px; position:absolute; z-index:9999; }
2292
+ .tool-tip .btn-close a { margin:0 0 0 auto; }
2293
+ .tool-tip .tool-tip-content { padding:5px; }
2294
+
2295
+ /* Gift Messages */
2296
+ .gift-messages { margin:30px 0 10px; }
2297
+ .gift-messages-form { border:1px solid #e5e5e5; padding:20px; position:relative; }
2298
+ .gift-messages-form p { margin-bottom:10px; }
2299
+ .gift-messages-form label { float:none !important; position:static !important; }
2300
+ .gift-messages-form .item { margin:0 0 10px; }
2301
+ .gift-messages-form .item .product-img-box { float:left; width:75px; }
2302
+ .gift-messages-form .item .product-image { margin:0 0 7px; }
2303
+ .gift-messages-form .item .number { margin:0; font-weight:bold; text-align:center; }
2304
+ .gift-messages-form .item .details { margin-left:90px; }
2305
+
2306
+ .gift-message-link { display:block; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; padding-left:20px; }
2307
+ .gift-message-link.expanded { background-position:0 -53px; }
2308
+ .gift-message-row .btn-close { float:right; padding:0 7px 0px; }
2309
+ .gift-message dt strong { font-weight:bold; color:#666; }
2310
+ .gift-message dd { margin:5px 0 0; font-size:13px; }
2311
+ .order-gift-message { margin:15px 0; }
2312
+
2313
+ /* Checkout Agreements */
2314
+ .checkout-agreements { padding:0 60px 20px; }
2315
+ .checkout-agreements li { margin:0 0 20px; }
2316
+ .checkout-agreements .agree { margin-top: 5px; }
2317
+ .checkout-agreements .agree input.checkbox { margin-right:6px; }
2318
+ .checkout-agreements .agree label { font-weight:bold; }
2319
+ .opc .checkout-agreements { padding:15px 30px; }
2320
+
2321
+ .checkout-agreements .agreement-content { max-height:250px; overflow:auto; padding-right:30px; }
2322
+
2323
+ /* Centinel */
2324
+ .centinel {}
2325
+ .centinel .authentication { border:1px solid #ddd; background:#fff; }
2326
+ .centinel .authentication iframe { width:99%; height:400px; background:transparent !important; margin:0 !important; padding:0 !important; border:0 !important; }
2327
+
2328
+ /* Generic Info Set */
2329
+ /* For more styles see Multiple Addresses Checkout */
2330
+ .info-set .data-table .item-options { margin:5px 0 0; }
2331
+ /********** Common Checkout Styles > */
2332
+
2333
+
2334
+ /* Other */
2335
+ .block-progress .block-title { background:none; border:0; padding:10px 0;}
2336
+ .block-progress .block-title strong { font-family:inherit; text-transform:none; font-weight:normal; }
2337
+ .block-progress .block-content { background:none; padding:0; margin-top:10px; border:none; }
2338
+ .block-progress dt {
2339
+ background:url(../images/img/checkout-progress.png) 0 5px no-repeat;
2340
+ line-height:18px;
2341
+ margin:0 0 5px;
2342
+ padding:6px 0 6px 30px;
2343
+ font-weight:bold;
2344
+ }
2345
+ .block-progress dd {
2346
+ line-height:15px;
2347
+ border-top:0 none;
2348
+ margin:0 0 6px;
2349
+ padding:8px 10px;
2350
+ }
2351
+ .block-progress dt.complete { background:url(../images/img/checkout-progress-done.png) 0 5px no-repeat; }
2352
+ .block-progress dt.complete .separator {}
2353
+ .block-progress dt.complete a { font-weight:normal; }
2354
+ .block-progress dd.complete {}
2355
+ .block-progress p { margin:0; }
2356
+
2357
+ .opc .buttons-set { margin-top:0; padding-top:2em; }
2358
+ .opc .buttons-set p.required { margin:0; padding:0 0 10px; }
2359
+ .opc .buttons-set.disabled button.button { display:none; }
2360
+ .opc .buttons-set .please-wait { height:28px; line-height:28px; }
2361
+ .opc .ul { list-style:disc outside; padding-left:18px; }
2362
+
2363
+ .opc { position:relative; }
2364
+ .opc .section { margin:0 0 10px; padding:0; }
2365
+
2366
+ .opc .step-title { background:#f5f5f5; padding:10px; text-align:right; }
2367
+ .opc .step-title .number { float:left; background:#fff; padding:8px 12px; margin:0 8px 0 0; font-size:1.3333em; }
2368
+ .opc .step-title h2 { float:left; margin:8px 0 0; color:#999; font-size:1.3333em; line-height:1.125em; }
2369
+ .opc .step-title a { display:none; float:right; margin-top:6px; }
2370
+
2371
+ .opc .section.allow { cursor:pointer; }
2372
+ .opc .section.allow.active { cursor:auto; }
2373
+ .opc .allow .step-title { background:#f5f5f5; }
2374
+ .opc .allow .step-title:hover { background-color:#e5e5e5; }
2375
+ .opc .allow .step-title h2 { color:#333; }
2376
+ .opc .allow .step-title a { display:block; }
2377
+
2378
+ .opc .active .step-title { background-color:#e5e5e5; cursor:default; }
2379
+ .opc .active .step-title .number { color:#fff; background-color:#333; }
2380
+ .opc .active .step-title h2 {}
2381
+ .opc .active .step-title a { display:none; }
2382
+
2383
+ .opc .step { padding:10px 20px; margin-top:10px; position:relative; }
2384
+ .opc .step .tool-tip { right:30px; }
2385
+
2386
+ #opc-login .col-1 {}
2387
+ #opc-login .col-2 {}
2388
+ #opc-login h3 { margin-top:10px; }
2389
+ #opc-login h4 { font-size:1em; font-weight:bold; margin:0; }
2390
+ #opc-login .form-list { margin:15px 0 15px; }
2391
+ #opc-login .form-list li { margin:0 0 3px;}
2392
+ #opc-login .buttons-set { padding:0; }
2393
+
2394
+ .opc .gift-messages-form { border:1px solid #e5e5e5; border-width:1px 0;}
2395
+ .opc .gift-messages-form .inner-box { overflow:visible; }
2396
+
2397
+ #opc-review .step { padding:0; }
2398
+ #opc-review .item-options { margin:5px 0 0; }
2399
+ #opc-review .buttons-set { border:0; padding:15px 30px; }
2400
+ #opc-review .buttons-set p { margin:0; line-height:28px; }
2401
+ #opc-review .buttons-set .please-wait { height:28px; line-height:28px; }
2402
+ #opc-review .authentication { margin:0 auto; width:570px; }
2403
+ #opc-review .warning-message { color:#222; font-weight:bold; text-align:center; padding:10px 10px 0; }
2404
+
2405
+
2406
+ /* Common styles for: Multiple Addresses Checkout and Generic Info Set
2407
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2408
+ */
2409
+ .multiple-checkout h2,
2410
+ .info-set h2 { font-weight:bold; margin:0 0 10px; }
2411
+ .multiple-checkout h3,
2412
+ .multiple-checkout h4,
2413
+ .info-set h3,
2414
+ .info-set h4 { font-size:15px; font-weight:bold; }
2415
+ .multiple-checkout h2 a,
2416
+ .multiple-checkout h3 a,
2417
+ .multiple-checkout h4 a,
2418
+ .info-set h2 a,
2419
+ .info-set h3 a,
2420
+ .info-set h4 a { font-size:12px; font-weight:normal; }
2421
+
2422
+ .multiple-checkout .data-table .product-name,
2423
+ .info-set .data-table .product-name { font-size:13px; margin:0 0 5px; }
2424
+ .multiple-checkout .col2-set h2.legend,
2425
+ .info-set h2.legend { font-weight:normal; }
2426
+ .multiple-checkout .col2-set h3.legend,
2427
+ .info-set h3.legend { color:#ce001a; margin:0 0 10px; }
2428
+ .multiple-checkout .col2-set .divider,
2429
+ .info-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
2430
+ .multiple-checkout .box,
2431
+ .info-set .box { margin:0 0 15px; }
2432
+
2433
+
2434
+
2435
+ /* Multiple Addresses Checkout
2436
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2437
+ */
2438
+ .checkout-progress { padding:0 110px; margin:-11px 0 25px; }
2439
+ .checkout-progress li { float:left; width:19%; margin:0 1px 0 0; padding-top:5px; border-top:10px solid #d5d5d5; text-align:center; color:#bbb; }
2440
+ .checkout-progress li.active { border-top-color:#ce001a; color:#ce001a; }
2441
+
2442
+ .multiple-checkout .page-title { border-bottom:1px solid #e5e5e5; padding-bottom:5px; }
2443
+ .multiple-checkout .buttons-set { border-top:1px solid #e5e5e5; margin-top:40px; padding-top:15px; }
2444
+
2445
+ /* Styles similar to cart-table */
2446
+ .multiple-checkout .data-table thead tr { border-bottom:1px solid #bbb; }
2447
+ .multiple-checkout .data-table thead th { padding:10px; font-weight:normal; }
2448
+
2449
+ .multiple-checkout .gift-messages { margin:15px 0 0; }
2450
+ .multiple-checkout .tool-tip { top:50%; margin-top:-120px; right:10px; }
2451
+
2452
+ .multiple-checkout .col2-set .col-1 { width:32%; }
2453
+ .multiple-checkout p.actions { margin-bottom:10px; }
2454
+
2455
+ .multiple-checkout .place-order .please-wait { margin-top:10px; }
2456
+ .multiple-checkout .place-order .grand-total { font-size:1.5em; text-align:right; }
2457
+ .multiple-checkout .place-order .grand-total .inner div { display:inline; }
2458
+ .multiple-checkout .place-order .grand-total big { display:inline; margin-right:20px; }
2459
+
2460
+ /* Step 1 */
2461
+ #multiship-addresses-table td { padding:10px; }
2462
+
2463
+ /* Step 2 */
2464
+ .checkout-multishipping-shipping .box-sp-methods { border:1px solid #e5e5e5; padding:15px; margin-bottom:0; position:relative; }
2465
+
2466
+
2467
+
2468
+ /* My Account %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2469
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2470
+
2471
+ /* Account Login/Create Pages
2472
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2473
+ */
2474
+ .account-login .new-users,
2475
+ .account-login .registered-users { margin-bottom:20px; }
2476
+ .account-login h2 { text-transform:uppercase; }
2477
+ .account-login p { margin-bottom:20px; }
2478
+ .account-login p.required { margin:0; }
2479
+ .account-login .buttons-set { clear:none; padding:0; margin:0; }
2480
+
2481
+ /* Account Login/Create box elements - login page and checkout page */
2482
+ .account-login .buttons-set button,
2483
+ #opc-login .buttons-set button { float:left; margin-left:0; }
2484
+ .account-login .buttons-set a,
2485
+ #opc-login .buttons-set a { float:right !important; margin:4px 0 0; }
2486
+
2487
+
2488
+ /* My Account Dashboard
2489
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2490
+ */
2491
+ .my-account {}
2492
+ .my-account .title-buttons .link-rss { float:none; margin:0; }
2493
+
2494
+ /********** < Dashboard */
2495
+ .dashboard .welcome-msg { margin:0 0 2.5em; }
2496
+ .dashboard .welcome-msg p { margin:0; }
2497
+ .dashboard .col-1,
2498
+ .dashboard .col-2 { margin-bottom:1.5em; }
2499
+
2500
+ /* General Box */
2501
+ .box-account { margin:0 0 2.5em; }
2502
+ .box-account .box-head { border-bottom:1px solid #e5e5e5; margin:0 0 10px; padding-bottom:5px; }
2503
+ .box-account .box-head a { float:right; margin-top:10px; }
2504
+ .box-account .box-head h2 { float:left; margin:0; background-position:0 0; background-repeat:no-repeat; }
2505
+ .box-account.box-info .col-1 { border-right:1px solid #e5e5e5; }
2506
+ .box-account.box-info .col-1 .box { padding-right:10px; }
2507
+
2508
+ .dashboard .box .box-title { padding:0 0 2px; margin:0 0 10px; text-align:right; border-bottom:1px solid #e5e5e5; }
2509
+ .dashboard .box .box-title h3,
2510
+ .dashboard .box .box-title h4 { float:left; margin:0; }
2511
+
2512
+ /* Block: Recent Orders */
2513
+ .dashboard .box-recent .box-head h2 { /*background-image:url(../images/i_folder-table.gif);*/ /*TODO del*/ }
2514
+
2515
+ /* Block: Account Information */
2516
+ .dashboard .box-info .box-head h2 { /*background-image:url(../images/i_ma-info.gif);*/ /*TODO del*/ }
2517
+ .dashboard .box-info h4 { font-weight:normal; text-transform:uppercase; }
2518
+
2519
+ /* Block: Reviews */
2520
+ .dashboard .box-reviews .box-head h2 { /*background-image:url(../images/i_ma-reviews.gif);*/ /*TODO del*/ }
2521
+ .dashboard .box-reviews .number { float:left; font-size:1.3333em; line-height:1.25em; padding:0 10px; }
2522
+ .dashboard .box-reviews .details { margin-left:38px; }
2523
+ .dashboard .box-reviews li.item { margin:0 0 7px; }
2524
+ .dashboard .box-reviews li.item.last { margin:0; }
2525
+ .dashboard .box-reviews .ratings { margin:5px 0 0; }
2526
+
2527
+ /* Block: Tags */
2528
+ .dashboard .box-tags .box-head h2 { /*background-image:url(../images/i_ma-tags.gif);*/ /*TODO del*/ }
2529
+ .dashboard .box-tags .number { float:left; font-size:1.3333em; line-height:1.25em; padding:0 10px; }
2530
+ .dashboard .box-tags .details { margin-left:38px; }
2531
+ .dashboard .box-tags .tags { margin:5px 0 0; }
2532
+ .dashboard .box-tags li.item { margin:0 0 7px; }
2533
+ .dashboard .box-tags li.item.last { margin:0; }
2534
+ .dashboard .box-tags .tags strong,
2535
+ .dashboard .box-tags .tags ul,
2536
+ .dashboard .box-tags .tags ul li { display:inline; }
2537
+ /********** Dashboard > */
2538
+
2539
+ /* Add left padding if icons are displayed in headings */
2540
+ /*.box-account .box-head h2,
2541
+ .order-items h2,
2542
+ .order-about h2 { padding-left:38px; }*/
2543
+
2544
+
2545
+ /* Address Book
2546
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2547
+ */
2548
+ .addresses-list h3 { background:url(../images/img/bullet.png) 0 6px no-repeat; padding-left:10px; font-weight:normal; }
2549
+ .addresses-list address { margin-bottom:10px; }
2550
+ .addresses-list .link-remove:hover { color:#ee001c; }
2551
+ .addresses-list .separator { margin:0 3px; }
2552
+ .addresses-list .addresses-primary .item { padding:15px; margin:0 0 10px; background-color:#f5f5f5; }
2553
+ .addresses-list li.empty { background:none; border:0; padding:0; }
2554
+ .addresses-list li.empty p { color:#555; }
2555
+ .addresses-list .addresses-additional .item { padding:15px; margin:0 0 10px; border:1px solid #e5e5e5; }
2556
+
2557
+ .my-account .pager { margin:20px 0; }
2558
+
2559
+
2560
+ /* Order View
2561
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2562
+ */
2563
+ .order-info { margin:20px 0 10px; }
2564
+ .order-info dt,
2565
+ .order-info dd,
2566
+ .order-info li,
2567
+ .order-info li a { float:left; }
2568
+
2569
+ .order-info dt { font-weight:bold; }
2570
+ .order-info li { margin-right:1px; }
2571
+ .order-info dt,
2572
+ .order-info li.current,
2573
+ .order-info li a { padding:10px; }
2574
+ .order-info dt { padding-left:0; }
2575
+
2576
+ .order-info li a { background-color:#f8f8f8; }
2577
+ .order-info li a:hover,
2578
+ .order-info li.current { background-color:#e5e5e5; }
2579
+
2580
+ /* Date */
2581
+ .order-date { margin:15px 0; color:#d90000; clear:both; }
2582
+
2583
+ /* Links in page title */
2584
+ .page-title .separator,
2585
+ .page-title .link-reorder,
2586
+ .page-title .link-rss,
2587
+ .page-title .link-print { font-weight:normal; display:inline-block; margin-top:10px; }
2588
+
2589
+
2590
+ /*
2591
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2592
+ */
2593
+ .order-info-box { margin:0 0 10px; padding:20px; }
2594
+ .order-info-box .col-1 { border-right:#e5e5e5 solid 1px; }
2595
+ .order-info-box h2 {}
2596
+ .order-info-box .box-payment p { margin:0 0 3px; }
2597
+ .order-info-box .box-payment th { font-weight:bold; padding-right:7px; }
2598
+
2599
+ .order-items .data-table { margin-bottom:20px; }
2600
+ .order-items .data-table td { padding:5px 9px; }
2601
+ .order-items .data-table .grand_total { font-size:1.3333em; }
2602
+ /* Grand total color */
2603
+ .order-items .data-table .grand_total .last,
2604
+ .order-items .data-table .grand_total_incl .last {}
2605
+
2606
+ .order-items { width:100%; }
2607
+ .order-items .product-name { margin:0 0 3px; font-size:12px; }
2608
+ .order-items .link-print { font-weight:normal; }
2609
+ .order-items p .link-print { float:none; }
2610
+
2611
+ .order-items h2,
2612
+ .order-about h2 { margin:15px 0; }
2613
+
2614
+ .order-items h3.table-caption { font-size:13px; font-weight:bold; }
2615
+ .order-items h2.table-caption a,
2616
+ .order-items h2.sub-title a {
2617
+ font-size:12px;
2618
+ font-weight:normal;
2619
+ text-transform:none;
2620
+ }
2621
+ .order-items .order-links { text-align: right; }
2622
+ .order-items .order-comments h2 { /*background:url(../images/img/ic-order-comment.gif) 0 0 no-repeat;*/ /*TODO del*/ }
2623
+
2624
+ .order-details h2 { /*background:url(../images/img/ic-order-item.gif) 0 0 no-repeat;*/ /*TODO del*/ }
2625
+ .order-details h2 .separator { color:#999; font-size:12px; }
2626
+
2627
+ .order-about { margin:0 0 15px; padding:5px 30px; }
2628
+ .order-about dt { font-weight:bold; }
2629
+ .order-about dd { font-size:12px; margin-bottom:15px; }
2630
+
2631
+ .tracking-table { margin:0 0 15px; }
2632
+ .tracking-table th { width:20%; font-weight:bold; white-space:nowrap; }
2633
+ .tracking-table th,
2634
+ .tracking-table td { padding:5px 9px; }
2635
+
2636
+ .tracking-table-popup { width:100%; }
2637
+ .tracking-table-popup th { font-weight:bold; white-space:nowrap; }
2638
+ .tracking-table-popup th,
2639
+ .tracking-table-popup td { padding:1px 8px; }
2640
+
2641
+
2642
+ /* Order Print Pages
2643
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2644
+ */
2645
+ .page-print .print-head { margin:0 0 15px; }
2646
+ .page-print .print-head .logo { float:left; }
2647
+ .page-print .print-head address { float:left; margin-left:15px; }
2648
+ .page-print h1 { font-size:16px; font-weight:bold; }
2649
+ .page-print h2,
2650
+ .page-print h3 { font-size:13px; font-weight:bold; }
2651
+ .page-print h2.h2 { font-size:16px; font-weight:bold; }
2652
+ .page-print .order-date { background:url(../images/bkg_divider1.gif) 0 100% repeat-x; padding:0 0 10px; margin:0 0 10px; }
2653
+ .page-print .col2-set { margin:0 0 10px; }
2654
+ /* Price Rewrites */
2655
+ .page-print .gift-message-link { display:none; }
2656
+ .page-print .price-excl-tax,
2657
+ .page-print .price-incl-tax { display:block; white-space:nowrap; }
2658
+ .page-print .cart-price,
2659
+ .page-print .price-excl-tax .label,
2660
+ .page-print .price-incl-tax .label,
2661
+ .page-print .price-excl-tax .price,
2662
+ .page-print .price-incl-tax .price { display:inline; }
2663
+
2664
+
2665
+ /* My Wishlist
2666
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2667
+ */
2668
+ .my-wishlist .product-image { display:block; margin:0 0 5px; min-width:113px; max-width:140px; }
2669
+ .my-wishlist .product-name { margin-bottom:10px; }
2670
+ .my-wishlist .description { margin-bottom:10px; }
2671
+ .my-wishlist textarea { display:block; width:97%; height:70px; border:1px solid #e5e5e5; }
2672
+ .my-wishlist .price-box { margin-bottom:5px; }
2673
+ .my-wishlist .add-to-cart-alt { margin-bottom:10px; }
2674
+ .my-wishlist .buttons-set { margin-top:2em; }
2675
+ .my-wishlist .buttons-set button.button { float:none; }
2676
+ #wishlist-table .add-to-links { white-space:nowrap; }
2677
+
2678
+ .my-wishlist .data-table tr.even { background:#fbfbfb; } /*TODO:redundant?*/
2679
+ .my-wishlist .btn-cart { margin:10px 0 5px; }
2680
+
2681
+
2682
+ /* My Tags
2683
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2684
+ */
2685
+ .my-tag-edit { float:left; margin:0 0 10px; }
2686
+ .my-tag-edit .btn-remove { float:right; margin:5px 0 0 5px; }
2687
+ #my-tags-table { clear:both; }
2688
+ #my-tags-table td { padding:10px; }
2689
+ #my-tags-table .add-to-links { white-space:nowrap; }
2690
+
2691
+
2692
+ /* My Reviews TODO:deprecated
2693
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2694
+ */
2695
+ #my-reviews-table td { padding:10px; }
2696
+ .product-review .product-img-box { float:left; width:140px; }
2697
+ .product-review .product-img-box .product-image { display:block; width:125px; height:125px; }
2698
+ .product-review .product-img-box .label { margin:0 0 8px; }
2699
+ .product-review .product-img-box .ratings .rating-box { float:none; display:block; margin:0 0 10px; }
2700
+ .product-review .product-details { margin:0 20px 20px 155px; }
2701
+ .product-review .product-name { font-size:18px; margin:0 0 18px; }
2702
+ .product-review h3 { font-size:12px; margin:15px 0 5px; }
2703
+ .product-review .ratings-table { margin:0 0 15px; }
2704
+ .product-review dt { font-weight:bold; }
2705
+ .product-review dd { font-size:12px; margin:5px 0 0; }
2706
+
2707
+
2708
+ /* Billing Agreements
2709
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2710
+ */
2711
+ .billing-agreements .form-list li select { float:left; }
2712
+ .billing-agreements .form-list li button.button { float:left; margin-left:10px; }
2713
+ .billing-agreements .table-caption { font-weight:bold; font-size:13px; }
2714
+
2715
+
2716
+
2717
+ /* Popups %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2718
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2719
+
2720
+ /* Remember Me Popup
2721
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2722
+ */
2723
+ .window-overlay { background:url(../images/window_overlay.png) repeat; background:rgba(0, 0, 0, 0.35); position:absolute; top:0; left:0; width:100%; height:100%; z-index:9999; }
2724
+
2725
+ .remember-me label { float:none; margin:0 6px; }
2726
+ .remember-me-popup { left:50%; top:50%; position:absolute; margin:-85px 0 0 -200px; width:400px; z-index:10000; }
2727
+ .remember-me-popup .remember-me-popup-head { position:relative; }
2728
+ /*.remember-me-popup .remember-me-popup-head .remember-me-popup-close { background:url(../images/btn_window_close.gif) no-repeat; display:block; position:absolute; top:7px; right:7px; height:15px; width:15px; text-indent:-9999em; }
2729
+ .remember-me-popup .remember-me-popup-body a { display:inline-block; height:19px; border:1px solid #de5400; background:#f18200; padding:0 8px; font:bold 12px/19px Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; white-space:nowrap; color:#fff; }*/
2730
+ /* Additionally remove the button */
2731
+ .remember-me-popup .remember-me-popup-close-button { display:none; }
2732
+
2733
+
2734
+ /* MAP Popup
2735
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2736
+ */
2737
+ .cart-msrp-totals { color:red; font-size:12px !important; text-align:right; text-transform:uppercase;}
2738
+ .map-cart-sidebar-total { color:red; display:block; text-align:left;
2739
+ overflow:hidden;
2740
+ text-overflow:ellipsis;
2741
+ white-space:nowrap;
2742
+ text-transform:lowercase;
2743
+ width:55px;
2744
+ line-height:15px;
2745
+ padding:2px 8px;
2746
+ }
2747
+ .map-cart-sidebar-total:hover {
2748
+ overflow:visible;
2749
+ white-space:normal;
2750
+ background-color:#fff;
2751
+ box-shadow:1px 1px 5px rgba(0, 0, 0, 0.2);
2752
+ }
2753
+ .map-popup { margin:10px 0 0; position:absolute; width:300px; z-index:100; }
2754
+ .map-popup-heading { width:240px; }
2755
+ .map-popup-heading h2 {
2756
+ margin:0;
2757
+ overflow:hidden;
2758
+ white-space:nowrap;
2759
+ word-wrap: break-word;
2760
+ text-align:left;
2761
+ text-overflow:ellipsis;
2762
+ }
2763
+ .map-popup-arrow { display:none; /*border-color:transparent transparent #fff transparent; border-style:solid; border-width:10px; position:absolute; left:50%; top:-20px;*/ }
2764
+ .map-popup-content { overflow:hidden; text-align:left; width:270px; }
2765
+ .map-popup-checkout { display:inline; float:right; text-align:right; }
2766
+ .map-popup-checkout span { display:block; padding-right:30px; }
2767
+ .map-popup-checkout .paypal-logo { margin:0 0 5px; }
2768
+ .map-popup-price .price-box,
2769
+ .map-popup-price .price-box .special-price { margin:0; padding:0; }
2770
+ .map-popup-price { margin:5px 0 0; }
2771
+ .map-popup-text { clear:right; margin:0 15px; padding:15px 0; text-align:left; word-wrap:break-word; }
2772
+ .map-popup-only-text { border-top:1px solid #eee; }
2773
+
2774
+
2775
+ /* Common styles for: Remember Me Popup and MAP Popup
2776
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2777
+ */
2778
+ .remember-me-popup,
2779
+ .map-popup { background:#fff; text-align:left; /* + Common shadow styles for multiple items */ }
2780
+ .remember-me-popup h3,
2781
+ .map-popup-heading { border-bottom:1px solid #e5e5e5; padding:12px 45px 12px 15px; }
2782
+ .remember-me-popup h3,
2783
+ .map-popup-heading h2 { font-weight:bold; font-size:1.5em; /*18px*/ }
2784
+ .remember-me-popup .remember-me-popup-body,
2785
+ .map-popup-content { padding:15px; }
2786
+ .remember-me-popup .remember-me-popup-head .remember-me-popup-close,
2787
+ .map-popup-close { background:url(../images/img/pix.png) 0 -150px no-repeat; display:block; position:absolute; top:11px; right:15px; height:17px; width:17px; text-indent:-9999em; }
2788
+ .remember-me-popup .remember-me-popup-head .remember-me-popup-close:hover,
2789
+ .map-popup-close:hover { background-position:-17px -150px; }
2790
+ .remember-me-popup .remember-me-popup-head .remember-me-popup-close:active,
2791
+ .map-popup-close:active { background-position:-34px -150px; }
2792
+
2793
+
2794
+
2795
+ /* Footer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2796
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2797
+
2798
+ .footer-container { background-repeat:repeat; background-position:center top; }
2799
+ .footer {
2800
+ width:960px;
2801
+ margin:0 auto;
2802
+ padding:0;
2803
+ text-align:left;
2804
+ }
2805
+ .footer .item-left { float:left; margin-right:20px; }
2806
+ .footer .item-right { float:right; margin-left:20px; }
2807
+
2808
+ /* Footer elements */
2809
+ .footer .heading { margin-bottom:0.625em; font-size:1.3333em; font-weight:normal; }
2810
+
2811
+
2812
+ /* Footer top
2813
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2814
+ */
2815
+ .footer-top {}
2816
+
2817
+
2818
+ /* Footer primary
2819
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2820
+ */
2821
+ .footer-primary {}
2822
+
2823
+ /* Primary footer additional
2824
+ -------------------------------------------------------------- */
2825
+ .footer-primary-top-spacing {
2826
+ padding-top:10px;
2827
+ padding-bottom:20px;
2828
+ border-bottom:1px solid;
2829
+ border-color:#eee;
2830
+ border-color:rgba(0,0,0, 0.05);
2831
+ }
2832
+ .footer-primary-bottom-spacing {
2833
+ border-top:1px solid;
2834
+ border-color:#eee;
2835
+ border-color:rgba(0,0,0, 0.05);
2836
+ padding-top:20px;
2837
+ padding-bottom:10px;
2838
+ }
2839
+
2840
+
2841
+ /* Footer secondary
2842
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2843
+ */
2844
+ .footer-secondary {}
2845
+
2846
+
2847
+ /* Footer bottom
2848
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2849
+ */
2850
+ .footer-bottom-container {}
2851
+ .footer-bottom {
2852
+ padding-top:10px; /* To counterbalance the bottom margin of footer elements */
2853
+ }
2854
+
2855
+
2856
+ /* Footer elements
2857
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2858
+ */
2859
+
2860
+ /* Newsletter form
2861
+ -------------------------------------------------------------- */
2862
+ #subscribe-form {}
2863
+ #subscribe-form form { display:block; }
2864
+ #subscribe-form label { float:left; margin:0 5px 0 0; line-height:32px; font-weight:normal; position: relative; }
2865
+ #subscribe-form .input-box { float:left; margin:0 5px 5px 0; position:relative; }
2866
+ #subscribe-form .input-box .validation-advice {
2867
+ padding:10px 0;
2868
+ width:140%;
2869
+ position:absolute;
2870
+ top:110%;
2871
+ left:-20%;
2872
+ text-align:center;
2873
+ background-color:#fff;
2874
+ background-color:rgba(255,255,255,0.9);
2875
+ z-index:1;
2876
+ }
2877
+ #subscribe-form .input-text {
2878
+ float:left;
2879
+ padding:0 7px;
2880
+ width:auto;
2881
+ height:30px;
2882
+ line-height:30px;
2883
+ color:#999;
2884
+ text-overflow:ellipsis;
2885
+ }
2886
+ #subscribe-form .input-text.validation-failed {}
2887
+ #subscribe-form .button { float:left; }
2888
+
2889
+ /* Social services
2890
+ -------------------------------------------------------------- */
2891
+ .social-links span.icon { margin-bottom:3px; }
2892
+
2893
+ /* TODO: Obsolete
2894
+ .social-links a {
2895
+ float:left;
2896
+ display:block;
2897
+ margin-right:5px;
2898
+ margin-bottom:5px;
2899
+ overflow:hidden;
2900
+ width:32px;
2901
+ height:32px;
2902
+ border-radius:0;
2903
+ background-color:#999;
2904
+ transition: all 300ms ease-in-out;
2905
+ -moz-transition: all 300ms ease-in-out;
2906
+ -webkit-transition: all 300ms ease-in-out;
2907
+ -o-transition: all 300ms ease-in-out;
2908
+ }
2909
+ .social-links a.last { margin-right:0; }
2910
+ .social-links a:hover { background-color:#333; }*/
2911
+
2912
+ /* Other elements
2913
+ -------------------------------------------------------------- */
2914
+ .footer-copyright { font-size:0.9166em; /*11px*/ line-height:1.3636em; margin-bottom:10px; margin-left:10px; }
2915
+
2916
+ /* Scroll to top button
2917
+ -------------------------------------------------------------- */
2918
+ #scroll-to-top {
2919
+ display:none;
2920
+ position:fixed;
2921
+ width:50px;
2922
+ height:50px;
2923
+ bottom:30px;
2924
+ right:30px;
2925
+ z-index:9999;
2926
+ text-indent:-9999px;
2927
+ border-radius:50%;
2928
+ background:url(../images/sprite.png) -200px -100px no-repeat #e5e5e5;
2929
+ }
2930
+ #scroll-to-top:hover {
2931
+ background-position:-200px -150px;
2932
+ background-color:#333;
2933
+ }
2934
+
2935
+
2936
+
2937
+ /* CMS pages and elements %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2938
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
2939
+
2940
+ /* CMS pages
2941
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2942
+ */
2943
+
2944
+ /* Home page */
2945
+ body.cms-index-index .breadcrumbs { display:none; }
2946
+
2947
+ /* 404 not found page */
2948
+ .cms-index-noroute .col-main .std { padding:10px 0 0 270px; background:url(../images/img/magnifier.jpg) 40px 40px no-repeat; }
2949
+
2950
+
2951
+ /* Page banners
2952
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2953
+ */
2954
+ .page-banners {}
2955
+ .page-banners .banner {
2956
+ margin-bottom:2%;
2957
+ }
2958
+ .page-banners .banner a { display:block; }
2959
+ .page-banners .banner img {}
2960
+ .page-banners .banner a img {
2961
+ display:block;
2962
+ margin:0 auto;
2963
+
2964
+ transition: opacity 300ms ease-in-out;
2965
+ -moz-transition: opacity 300ms ease-in-out;
2966
+ -webkit-transition: opacity 300ms ease-in-out;
2967
+ -o-transition: opacity 300ms ease-in-out;
2968
+ }
2969
+ .page-banners .banner a:hover img {
2970
+ opacity:0.85;
2971
+ filter:alpha(opacity=85);
2972
+ }
2973
+
2974
+
2975
+ /* Landing pages
2976
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2977
+ */
2978
+ .landing-page {}
2979
+ .horizontal-section,
2980
+ .vertical-section { display:block; margin-top:10px; margin-bottom:10px; position:relative; }
2981
+ .landing-page .center-block { display:block; margin:0 auto; }
2982
+
2983
+ /* Caption
2984
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2985
+ */
2986
+ .caption {
2987
+ position:absolute;
2988
+ bottom:0;
2989
+ width:80%;
2990
+ margin:6%;
2991
+ padding:0;
2992
+ }
2993
+
2994
+ /* Caption position and layout
2995
+ -------------------------------------------------------------- */
2996
+ .caption.top {
2997
+ top:0;
2998
+ bottom:auto;
2999
+ width:80%;
3000
+ }
3001
+ .caption.top-right {
3002
+ top:0;
3003
+ bottom:auto;
3004
+ right:0;
3005
+ width:58%;
3006
+ }
3007
+ .caption.bottom-right {
3008
+ right:0;
3009
+ width:58%;
3010
+ }
3011
+
3012
+ /* Width */
3013
+ .caption.full-width { width:88%; margin:6%; }
3014
+ .caption.narrow{ width:38%; }
3015
+
3016
+ /* Floating (text alignment) */
3017
+ .caption.right * { text-align:right; float:right !important; }
3018
+
3019
+ /* Prevent from hiding elements of the caption on narrow screens */
3020
+ .caption .permanent { display:inherit !important; }
3021
+
3022
+ /* Caption elements
3023
+ -------------------------------------------------------------- */
3024
+ .caption .heading {
3025
+ float:left;
3026
+ display:inline-block;
3027
+ padding:0.25em;
3028
+ margin-bottom:0.2em;
3029
+ font-size:2.8em;
3030
+ line-height:1em;
3031
+ font-weight:normal;
3032
+ }
3033
+ .caption p {
3034
+ float:left;
3035
+ clear:left;
3036
+ display:inline-block;
3037
+ padding:0.25em 0.5em;
3038
+ margin-bottom:1px;
3039
+ font-size: 1.3333em;
3040
+ line-height:1em;
3041
+ }
3042
+ .caption button {
3043
+ float:left;
3044
+ clear:left;
3045
+ margin-top:1em;
3046
+ }
3047
+
3048
+ /* Skin
3049
+ -------------------------------------------------------------- */
3050
+ .caption .heading,
3051
+ .caption p {
3052
+ transition: color 450ms ease-in-out, background-color 450ms ease-in-out;
3053
+ -moz-transition: color 450ms ease-in-out, background-color 450ms ease-in-out;
3054
+ -webkit-transition: color 450ms ease-in-out, background-color 450ms ease-in-out;
3055
+ -o-transition: color 450ms ease-in-out, background-color 450ms ease-in-out;
3056
+ }
3057
+ a:hover .caption .heading,
3058
+ a:hover .caption p {
3059
+ transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
3060
+ -moz-transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
3061
+ -webkit-transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
3062
+ -o-transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
3063
+ }
3064
+
3065
+ /* Dark + white text */
3066
+ .caption.dark1 .heading,
3067
+ .caption.dark1 p { background-color:rgba(0,0,0, 0.35); color:#fff; }
3068
+ a:hover .caption.dark1 .heading,
3069
+ a:hover .caption.dark1 p { background-color:rgba(0,0,0, 0.7); color:#fff; }
3070
+
3071
+ /* Dark + white text */
3072
+ .caption.dark2 .heading,
3073
+ .caption.dark2 p { background-color:rgba(0,0,0, 0.5); color:#fff; }
3074
+ a:hover .caption.dark2 .heading,
3075
+ a:hover .caption.dark2 p { background-color:rgba(0,0,0, 0.8); color:#fff; }
3076
+
3077
+ /* Dark + white text */
3078
+ .caption.dark3 .heading,
3079
+ .caption.dark3 p { background-color:rgba(0,0,0, 0.65); color:#fff; }
3080
+ a:hover .caption.dark3 .heading,
3081
+ a:hover .caption.dark3 p { background-color:rgba(0,0,0, 1); color:#fff; }
3082
+
3083
+ /* Light + black text */
3084
+ .caption.light1 .heading,
3085
+ .caption.light1 p { background-color:rgba(255,255,255, 0.35); color:#000; }
3086
+ a:hover .caption.light1 .heading,
3087
+ a:hover .caption.light1 p { background-color:rgba(255,255,255, 0.7); color:#000; }
3088
+
3089
+ /* Light + black text */
3090
+ .caption.light2 .heading,
3091
+ .caption.light2 p { background-color:rgba(255,255,255, 0.6); color:#000; }
3092
+ a:hover .caption.light2 .heading,
3093
+ a:hover .caption.light2 p { background-color:rgba(255,255,255, 0.85); color:#000; }
3094
+
3095
+ /* Light + black text */
3096
+ .caption.light3 .heading,
3097
+ .caption.light3 p { background-color:rgba(255,255,255, 0.8); color:#000; }
3098
+ a:hover .caption.light3 .heading,
3099
+ a:hover .caption.light3 p { background-color:rgba(255,255,255, 1); color:#000; }
3100
+
3101
+
3102
+
3103
+ /* Clears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3104
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
3105
+ .clear { clear:both; font-size:0; line-height:0; height:0; } /* Additional simple clearing */
3106
+ .clearer:after,
3107
+ .header-container:after,
3108
+ .header-container .top-container:after,
3109
+ .header:after,
3110
+ .header .quick-access:after,
3111
+ #nav:after,
3112
+ .main:after,
3113
+ .footer:after,
3114
+ .footer-container .bottom-container:after,
3115
+ .col-main:after,
3116
+ .col2-set:after,
3117
+ .col3-set:after,
3118
+ .col3-layout .product-options-bottom .price-box:after,
3119
+ .col4-set:after,
3120
+ .search-autocomplete li:after,
3121
+ .block .block-content:after,
3122
+ .block .actions:after,
3123
+ .block li.item:after,
3124
+ .block-poll li:after,
3125
+ .block-layered-nav .currently li:after,
3126
+ .page-title:after,
3127
+ .products-grid:after,
3128
+ .products-list li.item:after,
3129
+ .box-account .box-head:after,
3130
+ .dashboard .box .box-title:after,
3131
+ .box-reviews li.item:after,
3132
+ .box-tags li.item:after,
3133
+ .pager:after,
3134
+ .sorter:after,
3135
+ .ratings:after,
3136
+ .add-to-box:after,
3137
+ .add-to-cart:after,
3138
+ .product-essential:after,
3139
+ .product-view .box-tags .form-add:after,
3140
+ .product-view .product-shop .short-description:after,
3141
+ .product-view .box-description:after,
3142
+ .product-options .options-list li:after,
3143
+ .product-options-bottom:after,
3144
+ .product-review:after,
3145
+ .cart:after,
3146
+ .cart-collaterals:after,
3147
+ .cart .crosssell li.item:after,
3148
+ .opc .step-title:after,
3149
+ .checkout-progress:after,
3150
+ .multiple-checkout .place-order:after,
3151
+ .group-select li:after,
3152
+ .form-list li:after,
3153
+ .form-list .field:after,
3154
+ .buttons-set:after,
3155
+ .page-print .print-head:after,
3156
+ .advanced-search-summary:after,
3157
+ .gift-messages-form .item:after,
3158
+ .send-friend .form-list li p:after,
3159
+
3160
+ /* Additional clearing */
3161
+
3162
+ .my-account .order-info:after,
3163
+ #mini-cart .mini-products-list li.item:after,
3164
+
3165
+ .block-related-thumbnails .product:after,
3166
+
3167
+ .cart .crosssell:after,
3168
+
3169
+ .section-line:after,
3170
+ .section-title:after
3171
+
3172
+ { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
3173
+
3174
+ .guest-select {width:305px !important;}
skin/frontend/base/default/responsiveslider/css/ultra-slideshow.css ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Slideshow
3
+ */
4
+
5
+
6
+
7
+ /* Necessary styles
8
+ -------------------------------------------------------------- */
9
+ .the-slideshow {margin: 0; padding: 0;}
10
+ .the-slideshow .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
11
+ .the-slideshow .slides img {max-width: 100%; display: block;}
12
+ .pauseplay span {text-transform: capitalize;}
13
+
14
+ /* Clearfix for the .slides element */
15
+ .the-slideshow .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
16
+ html[xmlns] .the-slideshow .slides {display: block;}
17
+ * html .the-slideshow .slides {height: 1%;}
18
+
19
+ /* No JavaScript Fallback */
20
+ /* If you are not using another script, such as Modernizr, make sure you
21
+ * include js that eliminates this class on page load */
22
+ .no-js .the-slideshow .slides > li:first-child {display: block;}
23
+
24
+ /* Default style
25
+ -------------------------------------------------------------- */
26
+ .the-slideshow { margin:0 auto 2%; position:relative; zoom:1; }
27
+ .the-slideshow .slides { zoom:1; }
28
+ .the-slideshow .slides > li { position:relative; }
29
+
30
+ /* Slideshow banners
31
+ -------------------------------------------------------------- */
32
+ .slideshow-banners {
33
+ margin-bottom:2%;
34
+ }
35
+ .slideshow-banners .banner {
36
+ position:relative; /*Container for caption*/
37
+ }
38
+ .slideshow-banners a.banner, /*Backward compatibility, link could have "banner" class */
39
+ .slideshow-banners .banner a {
40
+ display:block;
41
+ }
42
+ .slideshow-banners .banner img {}
43
+
44
+ /* Effects
45
+ -------------------------------------------------------------- */
46
+ /*.slideshow-banners banner a img,
47
+ .slideshow-banners a.banner img,*/
48
+ .the-slideshow .slides > li a img {
49
+ transition: opacity 300ms ease-in-out;
50
+ -moz-transition: opacity 300ms ease-in-out;
51
+ -webkit-transition: opacity 300ms ease-in-out;
52
+ -o-transition: opacity 300ms ease-in-out;
53
+ }
54
+ /*.slideshow-banners banner a:hover img,
55
+ .slideshow-banners a.banner:hover img,*/
56
+ .the-slideshow:hover .slides > li a img {
57
+ opacity:0.85;
58
+ filter:alpha(opacity=85);
59
+ }
skin/frontend/base/default/responsiveslider/js/jquery-1.7.2.min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*! jQuery v1.7.2 jquery.com | jquery.org/license */
2
+ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a)?d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&f.type(b)==="object")for(var e in b)b_(a+"["+e+"]",b[e],c,d);else d(a,b)}function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bS,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g));return l}function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1:0,g=4;if(d>0){if(c!=="border")for(;e<g;e+=2)c||(d-=parseFloat(f.css(a,"padding"+bx[e]))||0),c==="margin"?d+=parseFloat(f.css(a,c+bx[e]))||0:d-=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0;return d+"px"}d=by(a,b);if(d<0||d==null)d=a.style[b];if(bt.test(d))return d;d=parseFloat(d)||0;if(c)for(;e<g;e+=2)d+=parseFloat(f.css(a,"padding"+bx[e]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+bx[e]))||0);return d+"px"}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;b.nodeType===1&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?b.outerHTML=a.outerHTML:c!=="input"||a.type!=="checkbox"&&a.type!=="radio"?c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttribute(f.expando),b.removeAttribute("_submit_attached"),b.removeAttribute("_change_attached"))}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c,i[c][d])}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h,i){var j,k=d==null,l=0,m=a.length;if(d&&typeof d=="object"){for(l in d)e.access(a,c,l,d[l],1,h,f);g=1}else if(f!==b){j=i===b&&e.isFunction(f),k&&(j?(j=c,c=function(a,b,c){return j.call(e(a),c)}):(c.call(a,f),c=null));if(c)for(;l<m;l++)c(a[l],d,j?f.call(a[l],l,c(a[l],d)):f,i);g=1}return g?a:k?c.call(a):m?c(a[0],d):h},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m,n=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?n(g):h==="function"&&(!a.unique||!p.has(g))&&c.push(g)},o=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,j=!0,m=k||0,k=0,l=c.length;for(;c&&m<l;m++)if(c[m].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}j=!1,c&&(a.once?e===!0?p.disable():c=[]:d&&d.length&&(e=d.shift(),p.fireWith(e[0],e[1])))},p={add:function(){if(c){var a=c.length;n(arguments),j?l=c.length:e&&e!==!0&&(k=a,o(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){j&&f<=l&&(l--,f<=m&&m--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&p.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(j?a.once||d.push([b,c]):(!a.once||!e)&&o(b,c));return this},fire:function(){p.fireWith(this,arguments);return this},fired:function(){return!!i}};return p};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p=c.createElement("div"),q=c.documentElement;p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="<div "+n+"display:block;'><div style='"+t+"0;display:block;overflow:hidden;'></div></div>"+"<table "+n+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="<table><tr><td style='"+t+"0;display:none'></td><td>t</td></tr></table>",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h,i,j=this[0],k=0,m=null;if(a===b){if(this.length){m=f.data(j);if(j.nodeType===1&&!f._data(j,"parsedAttrs")){g=j.attributes;for(i=g.length;k<i;k++)h=g[k].name,h.indexOf("data-")===0&&(h=f.camelCase(h.substring(5)),l(j,h,m[h]));f._data(j,"parsedAttrs",!0)}}return m}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!";return f.access(this,function(c){if(c===b){m=this.triggerHandler("getData"+e,[d[0]]),m===b&&j&&(m=f.data(j,a),m=l(j,a,m));return m===b&&d[1]?this.data(d[0]):m}d[1]=c,this.each(function(){var b=f(this);b.triggerHandler("setData"+e,d),f.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length<d)return f.queue(this[0],a);return c===b?this:this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise(c)}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,f.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i<g;i++)e=d[i],e&&(c=f.propFix[e]||e,h=u.test(e),h||f.attr(a,e,""),a.removeAttribute(v?e:c),h&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0,coords:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(
3
+ a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:g&&G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=f.event.special[c.type]||{},j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(!i.preDispatch||i.preDispatch.call(this,c)!==!1){if(e&&(!c.button||c.type!=="click")){n=f(this),n.context=this.ownerDocument||this;for(m=c.target;m!=this;m=m.parentNode||this)if(m.disabled!==!0){p={},r=[],n[0]=m;for(k=0;k<e;k++)s=d[k],t=s.selector,p[t]===b&&(p[t]=s.quick?H(m,s.quick):n.is(t)),p[t]&&r.push(s);r.length&&j.push({elem:m,matches:r})}}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){q=j[k],c.currentTarget=q.elem;for(l=0;l<q.matches.length&&!c.isImmediatePropagationStopped();l++){s=q.matches[l];if(h||!c.namespace&&!s.namespace||c.namespace_re&&c.namespace_re.test(s.namespace))c.data=s.data,c.handleObj=s,o=((f.event.special[s.origType]||{}).handle||s.handler).apply(q.elem,g),o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()))}}i.postDispatch&&i.postDispatch.call(this,c);return c.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),d._submit_attached=!0)})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9||d===11){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")[\\s/>]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f
4
+ .clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(f.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(g){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,function(a,b){b.src?f.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1></$2>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]==="<table>"&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i<u;i++)bn(l[i]);else bn(l);l.nodeType?j.push(l):j=f.merge(j,l)}if(d){g=function(a){return!a.type||be.test(a.type)};for(k=0;j[k];k++){h=j[k];if(e&&f.nodeName(h,"script")&&(!h.type||be.test(h.type)))e.push(h.parentNode?h.parentNode.removeChild(h):h);else{if(h.nodeType===1){var v=f.grep(h.getElementsByTagName("script"),g);j.splice.apply(j,[k+1,0].concat(v))}d.appendChild(h)}}}return j},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bp=/alpha\([^)]*\)/i,bq=/opacity=([^)]*)/,br=/([A-Z]|^ms)/g,bs=/^[\-+]?(?:\d*\.)?\d+$/i,bt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bu=/^([\-+])=([\-+.\de]+)/,bv=/^margin/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Top","Right","Bottom","Left"],by,bz,bA;f.fn.css=function(a,c){return f.access(this,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)},a,c,arguments.length>1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),(e===""&&f.css(d,"display")==="none"||!f.contains(d.ownerDocument.documentElement,d))&&f._data(d,"olddisplay",cu(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ct("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(ct("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o,p,q;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]);if((k=f.cssHooks[g])&&"expand"in k){l=k.expand(a[g]),delete a[g];for(i in l)i in a||(a[i]=l[i])}}for(g in a){h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a){return a},swing:function(a){return-Math.cos(a*Math.PI)/2+.5}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cq||cr(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){f._data(e.elem,"fxshow"+e.prop)===b&&(e.options.hide?f._data(e.elem,"fxshow"+e.prop,e.start):e.options.show&&f._data(e.elem,"fxshow"+e.prop,e.end))},h()&&f.timers.push(h)&&!co&&(co=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(co),co=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(cp.concat.apply([],cp),function(a,b){b.indexOf("margin")&&(f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)})}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cv,cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?cv=function(a,b,c,d){try{d=a.getBoundingClientRect()}catch(e){}if(!d||!f.contains(c,a))return d?{top:d.top,left:d.left}:{top:0,left:0};var g=b.body,h=cy(b),i=c.clientTop||g.clientTop||0,j=c.clientLeft||g.clientLeft||0,k=h.pageYOffset||f.support.boxModel&&c.scrollTop||g.scrollTop,l=h.pageXOffset||f.support.boxModel&&c.scrollLeft||g.scrollLeft,m=d.top+k-i,n=d.left+l-j;return{top:m,left:n}}:cv=function(a,b,c){var d,e=a.offsetParent,g=a,h=b.body,i=b.defaultView,j=i?i.getComputedStyle(a,null):a.currentStyle,k=a.offsetTop,l=a.offsetLeft;while((a=a.parentNode)&&a!==h&&a!==c){if(f.support.fixedPosition&&j.position==="fixed")break;d=i?i.getComputedStyle(a,null):a.currentStyle,k-=a.scrollTop,l-=a.scrollLeft,a===e&&(k+=a.offsetTop,l+=a.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(a.nodeName))&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),g=e,e=a.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),j=d}if(j.position==="relative"||j.position==="static")k+=h.offsetTop,l+=h.offsetLeft;f.support.fixedPosition&&j.position==="fixed"&&(k+=Math.max(c.scrollTop,h.scrollTop),l+=Math.max(c.scrollLeft,h.scrollLeft));return{top:k,left:l}},f.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){f.offset.setOffset(this,a,b)});var c=this[0],d=c&&c.ownerDocument;if(!d)return null;if(c===d.body)return f.offset.bodyOffset(c);return cv(c,d,d.documentElement)},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);
skin/frontend/base/default/responsiveslider/js/jquery.easing.min.js ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3
+ *
4
+ * Uses the built in easing capabilities added In jQuery 1.1
5
+ * to offer multiple easing options
6
+ *
7
+ * TERMS OF USE - jQuery Easing
8
+ *
9
+ * Open source under the BSD License.
10
+ *
11
+ * Copyright © 2008 George McGinley Smith
12
+ * All rights reserved.
13
+ *
14
+ * Redistribution and use in source and binary forms, with or without modification,
15
+ * are permitted provided that the following conditions are met:
16
+ *
17
+ * Redistributions of source code must retain the above copyright notice, this list of
18
+ * conditions and the following disclaimer.
19
+ * Redistributions in binary form must reproduce the above copyright notice, this list
20
+ * of conditions and the following disclaimer in the documentation and/or other materials
21
+ * provided with the distribution.
22
+ *
23
+ * Neither the name of the author nor the names of contributors may be used to endorse
24
+ * or promote products derived from this software without specific prior written permission.
25
+ *
26
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
35
+ *
36
+ */
37
+
38
+ // t: current time, b: begInnIng value, c: change In value, d: duration
39
+ jQuery.easing['jswing'] = jQuery.easing['swing'];
40
+
41
+ jQuery.extend( jQuery.easing,
42
+ {
43
+ def: 'easeOutQuad',
44
+ swing: function (x, t, b, c, d) {
45
+ //alert(jQuery.easing.default);
46
+ return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47
+ },
48
+ easeInQuad: function (x, t, b, c, d) {
49
+ return c*(t/=d)*t + b;
50
+ },
51
+ easeOutQuad: function (x, t, b, c, d) {
52
+ return -c *(t/=d)*(t-2) + b;
53
+ },
54
+ easeInOutQuad: function (x, t, b, c, d) {
55
+ if ((t/=d/2) < 1) return c/2*t*t + b;
56
+ return -c/2 * ((--t)*(t-2) - 1) + b;
57
+ },
58
+ easeInCubic: function (x, t, b, c, d) {
59
+ return c*(t/=d)*t*t + b;
60
+ },
61
+ easeOutCubic: function (x, t, b, c, d) {
62
+ return c*((t=t/d-1)*t*t + 1) + b;
63
+ },
64
+ easeInOutCubic: function (x, t, b, c, d) {
65
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
66
+ return c/2*((t-=2)*t*t + 2) + b;
67
+ },
68
+ easeInQuart: function (x, t, b, c, d) {
69
+ return c*(t/=d)*t*t*t + b;
70
+ },
71
+ easeOutQuart: function (x, t, b, c, d) {
72
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
73
+ },
74
+ easeInOutQuart: function (x, t, b, c, d) {
75
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
77
+ },
78
+ easeInQuint: function (x, t, b, c, d) {
79
+ return c*(t/=d)*t*t*t*t + b;
80
+ },
81
+ easeOutQuint: function (x, t, b, c, d) {
82
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
83
+ },
84
+ easeInOutQuint: function (x, t, b, c, d) {
85
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
87
+ },
88
+ easeInSine: function (x, t, b, c, d) {
89
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90
+ },
91
+ easeOutSine: function (x, t, b, c, d) {
92
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
93
+ },
94
+ easeInOutSine: function (x, t, b, c, d) {
95
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96
+ },
97
+ easeInExpo: function (x, t, b, c, d) {
98
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99
+ },
100
+ easeOutExpo: function (x, t, b, c, d) {
101
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102
+ },
103
+ easeInOutExpo: function (x, t, b, c, d) {
104
+ if (t==0) return b;
105
+ if (t==d) return b+c;
106
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108
+ },
109
+ easeInCirc: function (x, t, b, c, d) {
110
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111
+ },
112
+ easeOutCirc: function (x, t, b, c, d) {
113
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114
+ },
115
+ easeInOutCirc: function (x, t, b, c, d) {
116
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118
+ },
119
+ easeInElastic: function (x, t, b, c, d) {
120
+ var s=1.70158;var p=0;var a=c;
121
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
122
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
123
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
124
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125
+ },
126
+ easeOutElastic: function (x, t, b, c, d) {
127
+ var s=1.70158;var p=0;var a=c;
128
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
129
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
130
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
131
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132
+ },
133
+ easeInOutElastic: function (x, t, b, c, d) {
134
+ var s=1.70158;var p=0;var a=c;
135
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
136
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
137
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
138
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140
+ },
141
+ easeInBack: function (x, t, b, c, d, s) {
142
+ if (s == undefined) s = 1.70158;
143
+ return c*(t/=d)*t*((s+1)*t - s) + b;
144
+ },
145
+ easeOutBack: function (x, t, b, c, d, s) {
146
+ if (s == undefined) s = 1.70158;
147
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148
+ },
149
+ easeInOutBack: function (x, t, b, c, d, s) {
150
+ if (s == undefined) s = 1.70158;
151
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153
+ },
154
+ easeInBounce: function (x, t, b, c, d) {
155
+ return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156
+ },
157
+ easeOutBounce: function (x, t, b, c, d) {
158
+ if ((t/=d) < (1/2.75)) {
159
+ return c*(7.5625*t*t) + b;
160
+ } else if (t < (2/2.75)) {
161
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162
+ } else if (t < (2.5/2.75)) {
163
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164
+ } else {
165
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166
+ }
167
+ },
168
+ easeInOutBounce: function (x, t, b, c, d) {
169
+ if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170
+ return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171
+ }
172
+ });
173
+
174
+ /*
175
+ *
176
+ * TERMS OF USE - EASING EQUATIONS
177
+ *
178
+ * Open source under the BSD License.
179
+ *
180
+ * Copyright © 2001 Robert Penner
181
+ * All rights reserved.
182
+ *
183
+ * Redistribution and use in source and binary forms, with or without modification,
184
+ * are permitted provided that the following conditions are met:
185
+ *
186
+ * Redistributions of source code must retain the above copyright notice, this list of
187
+ * conditions and the following disclaimer.
188
+ * Redistributions in binary form must reproduce the above copyright notice, this list
189
+ * of conditions and the following disclaimer in the documentation and/or other materials
190
+ * provided with the distribution.
191
+ *
192
+ * Neither the name of the author nor the names of contributors may be used to endorse
193
+ * or promote products derived from this software without specific prior written permission.
194
+ *
195
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
204
+ *
205
+ */
skin/frontend/base/default/responsiveslider/js/jquery.flexslider.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(a){a.flexslider=function(b,c){var d=a(b),e=a.extend({},a.flexslider.defaults,c),f=e.namespace,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,h=g?"touchend":"click",i="vertical"===e.direction,j=e.reverse,k=e.itemWidth>0,l="fade"===e.animation,m=""!==e.asNavFor,n={};a.data(b,"flexslider",d),n={init:function(){d.animating=!1,d.currentSlide=e.startAt,d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=e.selector.substr(0,e.selector.search(" ")),d.slides=a(e.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(e.sync).length>0,"slide"===e.animation&&(e.animation="swing"),d.prop=i?"top":"marginLeft",d.args={},d.manualPause=!1,d.transitions=!e.video&&!l&&e.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),""!==e.controlsContainer&&(d.controlsContainer=a(e.controlsContainer).length>0&&a(e.controlsContainer)),""!==e.manualControls&&(d.manualControls=a(e.manualControls).length>0&&a(e.manualControls)),e.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),m&&n.asNav.setup(),d.setup("init"),e.controlNav&&n.controlNav.setup(),e.directionNav&&n.directionNav.setup(),e.keyboard&&(1===a(d.containerSelector).length||e.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b?d.getTarget("prev"):!1;d.flexAnimate(c,e.pauseOnAction)}}),e.mousewheel&&d.bind("mousewheel",function(a,b){a.preventDefault();var g=0>b?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(g,e.pauseOnAction)}),e.pausePlay&&n.pausePlay.setup(),e.slideshow&&(e.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.play()}),e.initDelay>0?setTimeout(d.play,e.initDelay):d.play()),g&&e.touch&&n.touch(),(!l||l&&e.smoothHeight)&&a(window).bind("resize focus",n.resize),setTimeout(function(){e.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(f+"active-slide").eq(d.currentItem).addClass(f+"active-slide"),d.slides.click(function(b){b.preventDefault();var c=a(this),f=c.index();a(e.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=f>d.currentItem?"next":"prev",d.flexAnimate(f,e.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){d.manualControls?n.controlNav.setupManual():n.controlNav.setupPaging()},setupPaging:function(){var i,b="thumbnails"===e.controlNav?"control-thumbs":"control-paging",c=1;if(d.controlNavScaffold=a('<ol class="'+f+"control-nav "+f+b+'"></ol>'),d.pagingCount>1)for(var j=0;d.pagingCount>j;j++)i="thumbnails"===e.controlNav?'<img src="'+d.slides.eq(j).attr("data-thumb")+'"/>':"<a>"+c+"</a>",d.controlNavScaffold.append("<li>"+i+"</li>"),c++;d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),n.controlNav.set(),n.controlNav.active(),d.controlNavScaffold.delegate("a, img",h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNavScaffold.delegate("a","click touchstart",function(a){a.preventDefault()})},setupManual:function(){d.controlNav=d.manualControls,n.controlNav.active(),d.controlNav.live(h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){var b="thumbnails"===e.controlNav?"img":"a";d.controlNav=a("."+f+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(f+"active").eq(d.animatingTo).addClass(f+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a("<li><a>"+d.count+"</a></li>")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),n.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):n.controlNav.active()}},directionNav:{setup:function(){var b=a('<ul class="'+f+'direction-nav"><li><a class="'+f+'prev" href="#">'+e.prevText+'</a></li><li><a class="'+f+'next" href="#">'+e.nextText+"</a></li></ul>");d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+f+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+f+"direction-nav li a",d)),n.directionNav.update(),d.directionNav.bind(h,function(b){b.preventDefault();var c=a(this).hasClass(f+"next")?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(c,e.pauseOnAction)}),g&&d.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var a=f+"disabled";1===d.pagingCount?d.directionNav.addClass(a):e.animationLoop?d.directionNav.removeClass(a):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+f+"prev").addClass(a):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+f+"next").addClass(a):d.directionNav.removeClass(a)}},pausePlay:{setup:function(){var b=a('<div class="'+f+'pauseplay"><a></a></div>');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+f+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+f+"pauseplay a",d)),n.pausePlay.update(e.slideshow?f+"pause":f+"play"),d.pausePlay.bind(h,function(b){b.preventDefault(),a(this).hasClass(f+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())}),g&&d.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(a){"play"===a?d.pausePlay.removeClass(f+"pause").addClass(f+"play").text(e.playText):d.pausePlay.removeClass(f+"play").addClass(f+"pause").text(e.pauseText)}},touch:function(){function o(h){d.animating?h.preventDefault():1===h.touches.length&&(d.pause(),g=i?d.h:d.w,m=Number(new Date),f=k&&j&&d.animatingTo===d.last?0:k&&j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:k&&d.currentSlide===d.last?d.limit:k?(d.itemW+e.itemMargin)*d.move*d.currentSlide:j?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g,a=i?h.touches[0].pageY:h.touches[0].pageX,c=i?h.touches[0].pageX:h.touches[0].pageY,b.addEventListener("touchmove",p,!1),b.addEventListener("touchend",q,!1))}function p(b){h=i?a-b.touches[0].pageY:a-b.touches[0].pageX,n=i?Math.abs(h)<Math.abs(b.touches[0].pageX-c):Math.abs(h)<Math.abs(b.touches[0].pageY-c),(!n||Number(new Date)-m>500)&&(b.preventDefault(),!l&&d.transitions&&(e.animationLoop||(h/=0===d.currentSlide&&0>h||d.currentSlide===d.last&&h>0?Math.abs(h)/g+2:1),d.setProps(f+h,"setTouch")))}function q(){if(b.removeEventListener("touchmove",p,!1),d.animatingTo===d.currentSlide&&!n&&null!==h){var k=j?-h:h,o=k>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(o)&&(550>Number(new Date)-m&&Math.abs(k)>50||Math.abs(k)>g/2)?d.flexAnimate(o,e.pauseOnAction):l||d.flexAnimate(d.currentSlide,e.pauseOnAction,!0)}b.removeEventListener("touchend",q,!1),a=null,c=null,h=null,f=null}var a,c,f,g,h,m,n=!1;b.addEventListener("touchstart",o,!1)},resize:function(){!d.animating&&d.is(":visible")&&(k||d.doMath(),l?n.smoothHeight():k?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):i?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(e.smoothHeight&&n.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!i||l){var b=l?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(e.sync).data("flexslider"),f=d.animatingTo;switch(b){case"animate":c.flexAnimate(f,e.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}}},d.flexAnimate=function(b,c,h,o,p){if(m&&1===d.pagingCount&&(d.direction=b>d.currentItem?"next":"prev"),!d.animating&&(d.canAdvance(b,p)||h)&&d.is(":visible")){if(m&&o){var q=a(e.asNavFor).data("flexslider");if(d.atEnd=0===b||b===d.count-1,q.flexAnimate(b,!0,!1,!0,p),d.direction=b>d.currentItem?"next":"prev",q.direction=d.direction,Math.ceil((b+1)/d.visible)-1===d.currentSlide||0===b)return d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),!1;d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),b=Math.floor(b/d.visible)}if(d.animating=!0,d.animatingTo=b,e.before(d),c&&d.pause(),d.syncExists&&!p&&n.sync("animate"),e.controlNav&&n.controlNav.active(),k||d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),d.atEnd=0===b||b===d.last,e.directionNav&&n.directionNav.update(),b===d.last&&(e.end(d),e.animationLoop||d.pause()),l)g?(d.slides.eq(d.currentSlide).css({opacity:0,zIndex:1}),d.slides.eq(b).css({opacity:1,zIndex:2}),d.slides.unbind("webkitTransitionEnd transitionend"),d.slides.eq(d.currentSlide).bind("webkitTransitionEnd transitionend",function(){e.after(d)}),d.animating=!1,d.currentSlide=d.animatingTo):(d.slides.eq(d.currentSlide).fadeOut(e.animationSpeed,e.easing),d.slides.eq(b).fadeIn(e.animationSpeed,e.easing,d.wrapup));else{var s,t,u,r=i?d.slides.filter(":first").height():d.computedW;k?(s=e.itemWidth>d.w?2*e.itemMargin:e.itemMargin,u=(d.itemW+s)*d.move*d.animatingTo,t=u>d.limit&&1!==d.visible?d.limit:u):t=0===d.currentSlide&&b===d.count-1&&e.animationLoop&&"next"!==d.direction?j?(d.count+d.cloneOffset)*r:0:d.currentSlide===d.last&&0===b&&e.animationLoop&&"prev"!==d.direction?j?0:(d.count+1)*r:j?(d.count-1-b+d.cloneOffset)*r:(b+d.cloneOffset)*r,d.setProps(t,"",e.animationSpeed),d.transitions?(e.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){d.wrapup(r)})):d.container.animate(d.args,e.animationSpeed,e.easing,function(){d.wrapup(r)})}e.smoothHeight&&n.smoothHeight(e.animationSpeed)}},d.setOpts=function(a){for(var b in a)e[b]=a[b];d.setup()},d.getOpts=function(){return e},d.wrapup=function(a){l||k||(0===d.currentSlide&&d.animatingTo===d.last&&e.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&e.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,e.after(d)},d.animateSlides=function(){d.animating||d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.playing=!1,e.pausePlay&&n.pausePlay.update("play"),d.syncExists&&n.sync("pause")},d.play=function(){d.animatedSlides=setInterval(d.animateSlides,e.slideshowSpeed),d.playing=!0,e.pausePlay&&n.pausePlay.update("pause"),d.syncExists&&n.sync("play")},d.canAdvance=function(a,b){var c=m?d.pagingCount-1:d.last;return b?!0:m&&d.currentItem===d.count-1&&0===a&&"prev"===d.direction?!0:m&&0===d.currentItem&&a===d.pagingCount-1&&"next"!==d.direction?!1:a!==d.currentSlide||m?e.animationLoop?!0:d.atEnd&&0===d.currentSlide&&a===c&&"next"!==d.direction?!1:d.atEnd&&d.currentSlide===c&&0===a&&"next"===d.direction?!1:!0:!1},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var f=function(){var c=a?a:(d.itemW+e.itemMargin)*d.move*d.animatingTo,f=function(){if(k)return"setTouch"===b?a:j&&d.animatingTo===d.last?0:j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return j?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return j?a:a;case"jumpEnd":return j?a:d.count*a;case"jumpStart":return j?d.count*a:a;default:return a}}();return-1*f+"px"}();d.transitions&&(f=i?"translate3d(0,"+f+",0)":"translate3d("+f+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c)),d.args[d.prop]=f,(d.transitions||void 0===c)&&d.container.css(d.args)},d.setup=function(b){if(l)d.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(g?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+e.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):d.slides.eq(d.currentSlide).fadeIn(e.animationSpeed,e.easing)),e.smoothHeight&&n.smoothHeight();else{var c,h;"init"===b&&(d.viewport=a('<div class="'+f+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,j&&(h=a.makeArray(d.slides).reverse(),d.slides=a(h),d.container.empty().append(d.slides))),e.animationLoop&&!k&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),d.container.append(d.slides.first().clone().addClass("clone")).prepend(d.slides.last().clone().addClass("clone"))),d.newSlides=a(e.selector,d),c=j?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,i&&!k?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,"float":"left",display:"block"}),e.smoothHeight&&n.smoothHeight()},"init"===b?100:0))}k||d.slides.removeClass(f+"active-slide").eq(d.currentSlide).addClass(f+"active-slide")},d.doMath=function(){var a=d.slides.first(),b=e.itemMargin,c=e.minItems,f=e.maxItems;d.w=d.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),k?(d.itemT=e.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=f?f*d.itemT:d.w,d.itemW=d.minW>d.w?(d.w-b*c)/c:d.maxW<d.w?(d.w-b*f)/f:e.itemWidth>d.w?d.w:e.itemWidth,d.visible=Math.floor(d.w/(d.itemW+b)),d.move=e.move>0&&e.move<d.visible?e.move:d.visible,d.pagingCount=Math.ceil((d.count-d.visible)/d.move+1),d.last=d.pagingCount-1,d.limit=1===d.pagingCount?0:e.itemWidth>d.w?(d.itemW+2*b)*d.count-d.w-b:(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),k||(d.currentSlide>a?d.currentSlide+=1:d.currentSlide>=a&&0!==a&&(d.currentSlide-=1),d.animatingTo=d.currentSlide),e.controlNav&&!d.manualControls&&("add"===b&&!k||d.pagingCount>d.controlNav.length?n.controlNav.update("add"):("remove"===b&&!k||d.pagingCount<d.controlNav.length)&&(k&&d.currentSlide>d.last&&(d.currentSlide-=1,d.animatingTo-=1),n.controlNav.update("remove",d.last))),e.directionNav&&n.directionNav.update()},d.addSlide=function(b,c){var f=a(b);d.count+=1,d.last=d.count-1,i&&j?void 0!==c?d.slides.eq(d.count-c).after(f):d.container.prepend(f):void 0!==c?d.slides.eq(c).before(f):d.container.append(f),d.update(c,"add"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():i&&j?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.removed(d)},n.init()},a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0==c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}})(jQuery);
skin/frontend/base/default/responsiveslider/js/jquery.slides.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*
2
+ SlidesJS 3.0.4 http://slidesjs.com
3
+ (c) 2013 by Nathan Searles http://nathansearles.com
4
+ Updated: June 26th, 2013
5
+ Apache License: http://www.apache.org/licenses/LICENSE-2.0
6
+ */
7
+ (function(){(function(e,t,n){var r,i,s;s="slidesjs";i={width:940,height:528,start:1,navigation:{active:!0,effect:"slide"},pagination:{active:!0,effect:"slide"},play:{active:!1,effect:"slide",interval:5e3,auto:!1,swap:!0,pauseOnHover:!1,restartDelay:2500},effect:{slide:{speed:500},fade:{speed:300,crossfade:!0}},callback:{loaded:function(){},start:function(){},complete:function(){}}};r=function(){function t(t,n){this.element=t;this.options=e.extend(!0,{},i,n);this._defaults=i;this._name=s;this.init()}return t}();r.prototype.init=function(){var n,r,i,s,o,u,a=this;n=e(this.element);this.data=e.data(this);e.data(this,"animating",!1);e.data(this,"total",n.children().not(".slidesjs-navigation",n).length);e.data(this,"current",this.options.start-1);e.data(this,"vendorPrefix",this._getVendorPrefix());if(typeof TouchEvent!="undefined"){e.data(this,"touch",!0);this.options.effect.slide.speed=this.options.effect.slide.speed/2}n.css({overflow:"hidden"});n.slidesContainer=n.children().not(".slidesjs-navigation",n).wrapAll("<div class='slidesjs-container'>",n).parent().css({overflow:"hidden",position:"relative"});e(".slidesjs-container",n).wrapInner("<div class='slidesjs-control'>",n).children();e(".slidesjs-control",n).css({position:"relative",left:0});e(".slidesjs-control",n).children().addClass("slidesjs-slide").css({position:"absolute",top:0,left:0,width:"100%",zIndex:0,display:"none",webkitBackfaceVisibility:"hidden"});e.each(e(".slidesjs-control",n).children(),function(t){var n;n=e(this);return n.attr("slidesjs-index",t)});if(this.data.touch){e(".slidesjs-control",n).on("touchstart",function(e){return a._touchstart(e)});e(".slidesjs-control",n).on("touchmove",function(e){return a._touchmove(e)});e(".slidesjs-control",n).on("touchend",function(e){return a._touchend(e)})}n.fadeIn(0);this.update();this.data.touch&&this._setuptouch();e(".slidesjs-control",n).children(":eq("+this.data.current+")").eq(0).fadeIn(0,function(){return e(this).css({zIndex:10})});if(this.options.navigation.active){o=e("<a>",{"class":"slidesjs-previous slidesjs-navigation",href:"#",title:"Previous",text:"Previous"}).appendTo(n);r=e("<a>",{"class":"slidesjs-next slidesjs-navigation",href:"#",title:"Next",text:"Next"}).appendTo(n)}e(".slidesjs-next",n).click(function(e){e.preventDefault();a.stop(!0);return a.next(a.options.navigation.effect)});e(".slidesjs-previous",n).click(function(e){e.preventDefault();a.stop(!0);return a.previous(a.options.navigation.effect)});if(this.options.play.active){s=e("<a>",{"class":"slidesjs-play slidesjs-navigation",href:"#",title:"Play",text:"Play"}).appendTo(n);u=e("<a>",{"class":"slidesjs-stop slidesjs-navigation",href:"#",title:"Stop",text:"Stop"}).appendTo(n);s.click(function(e){e.preventDefault();return a.play(!0)});u.click(function(e){e.preventDefault();return a.stop(!0)});this.options.play.swap&&u.css({display:"none"})}if(this.options.pagination.active){i=e("<ul>",{"class":"slidesjs-pagination"}).appendTo(n);e.each(new Array(this.data.total),function(t){var n,r;n=e("<li>",{"class":"slidesjs-pagination-item"}).appendTo(i);r=e("<a>",{href:"#","data-slidesjs-item":t,html:t+1}).appendTo(n);return r.click(function(t){t.preventDefault();a.stop(!0);return a.goto(e(t.currentTarget).attr("data-slidesjs-item")*1+1)})})}e(t).bind("resize",function(){return a.update()});this._setActive();this.options.play.auto&&this.play();return this.options.callback.loaded(this.options.start)};r.prototype._setActive=function(t){var n,r;n=e(this.element);this.data=e.data(this);r=t>-1?t:this.data.current;e(".active",n).removeClass("active");return e(".slidesjs-pagination li:eq("+r+") a",n).addClass("active")};r.prototype.update=function(){var t,n,r;t=e(this.element);this.data=e.data(this);e(".slidesjs-control",t).children(":not(:eq("+this.data.current+"))").css({display:"none",left:0,zIndex:0});r=t.width();n=this.options.height/this.options.width*r;this.options.width=r;this.options.height=n;return e(".slidesjs-control, .slidesjs-container",t).css({width:r,height:n})};r.prototype.next=function(t){var n;n=e(this.element);this.data=e.data(this);e.data(this,"direction","next");t===void 0&&(t=this.options.navigation.effect);return t==="fade"?this._fade():this._slide()};r.prototype.previous=function(t){var n;n=e(this.element);this.data=e.data(this);e.data(this,"direction","previous");t===void 0&&(t=this.options.navigation.effect);return t==="fade"?this._fade():this._slide()};r.prototype.goto=function(t){var n,r;n=e(this.element);this.data=e.data(this);r===void 0&&(r=this.options.pagination.effect);t>this.data.total?t=this.data.total:t<1&&(t=1);if(typeof t=="number")return r==="fade"?this._fade(t):this._slide(t);if(typeof t=="string"){if(t==="first")return r==="fade"?this._fade(0):this._slide(0);if(t==="last")return r==="fade"?this._fade(this.data.total):this._slide(this.data.total)}};r.prototype._setuptouch=function(){var t,n,r,i;t=e(this.element);this.data=e.data(this);i=e(".slidesjs-control",t);n=this.data.current+1;r=this.data.current-1;r<0&&(r=this.data.total-1);n>this.data.total-1&&(n=0);i.children(":eq("+n+")").css({display:"block",left:this.options.width});return i.children(":eq("+r+")").css({display:"block",left:-this.options.width})};r.prototype._touchstart=function(t){var n,r;n=e(this.element);this.data=e.data(this);r=t.originalEvent.touches[0];this._setuptouch();e.data(this,"touchtimer",Number(new Date));e.data(this,"touchstartx",r.pageX);e.data(this,"touchstarty",r.pageY);return t.stopPropagation()};r.prototype._touchend=function(t){var n,r,i,s,o,u,a,f=this;n=e(this.element);this.data=e.data(this);u=t.originalEvent.touches[0];s=e(".slidesjs-control",n);if(s.position().left>this.options.width*.5||s.position().left>this.options.width*.1&&Number(new Date)-this.data.touchtimer<250){e.data(this,"direction","previous");this._slide()}else if(s.position().left<-(this.options.width*.5)||s.position().left<-(this.options.width*.1)&&Number(new Date)-this.data.touchtimer<250){e.data(this,"direction","next");this._slide()}else{i=this.data.vendorPrefix;a=i+"Transform";r=i+"TransitionDuration";o=i+"TransitionTimingFunction";s[0].style[a]="translateX(0px)";s[0].style[r]=this.options.effect.slide.speed*.85+"ms"}s.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){i=f.data.vendorPrefix;a=i+"Transform";r=i+"TransitionDuration";o=i+"TransitionTimingFunction";s[0].style[a]="";s[0].style[r]="";return s[0].style[o]=""});return t.stopPropagation()};r.prototype._touchmove=function(t){var n,r,i,s,o;n=e(this.element);this.data=e.data(this);s=t.originalEvent.touches[0];r=this.data.vendorPrefix;i=e(".slidesjs-control",n);o=r+"Transform";e.data(this,"scrolling",Math.abs(s.pageX-this.data.touchstartx)<Math.abs(s.pageY-this.data.touchstarty));if(!this.data.animating&&!this.data.scrolling){t.preventDefault();this._setuptouch();i[0].style[o]="translateX("+(s.pageX-this.data.touchstartx)+"px)"}return t.stopPropagation()};r.prototype.play=function(t){var n,r,i,s=this;n=e(this.element);this.data=e.data(this);if(!this.data.playInterval){if(t){r=this.data.current;this.data.direction="next";this.options.play.effect==="fade"?this._fade():this._slide()}e.data(this,"playInterval",setInterval(function(){r=s.data.current;s.data.direction="next";return s.options.play.effect==="fade"?s._fade():s._slide()},this.options.play.interval));i=e(".slidesjs-container",n);if(this.options.play.pauseOnHover){i.unbind();i.bind("mouseenter",function(){return s.stop()});i.bind("mouseleave",function(){return s.options.play.restartDelay?e.data(s,"restartDelay",setTimeout(function(){return s.play(!0)},s.options.play.restartDelay)):s.play()})}e.data(this,"playing",!0);e(".slidesjs-play",n).addClass("slidesjs-playing");if(this.options.play.swap){e(".slidesjs-play",n).hide();return e(".slidesjs-stop",n).show()}}};r.prototype.stop=function(t){var n;n=e(this.element);this.data=e.data(this);clearInterval(this.data.playInterval);this.options.play.pauseOnHover&&t&&e(".slidesjs-container",n).unbind();e.data(this,"playInterval",null);e.data(this,"playing",!1);e(".slidesjs-play",n).removeClass("slidesjs-playing");if(this.options.play.swap){e(".slidesjs-stop",n).hide();return e(".slidesjs-play",n).show()}};r.prototype._slide=function(t){var n,r,i,s,o,u,a,f,l,c,h=this;n=e(this.element);this.data=e.data(this);if(!this.data.animating&&t!==this.data.current+1){e.data(this,"animating",!0);r=this.data.current;if(t>-1){t-=1;c=t>r?1:-1;i=t>r?-this.options.width:this.options.width;o=t}else{c=this.data.direction==="next"?1:-1;i=this.data.direction==="next"?-this.options.width:this.options.width;o=r+c}o===-1&&(o=this.data.total-1);o===this.data.total&&(o=0);this._setActive(o);a=e(".slidesjs-control",n);t>-1&&a.children(":not(:eq("+r+"))").css({display:"none",left:0,zIndex:0});a.children(":eq("+o+")").css({display:"block",left:c*this.options.width,zIndex:10});this.options.callback.start(r+1);if(this.data.vendorPrefix){u=this.data.vendorPrefix;l=u+"Transform";s=u+"TransitionDuration";f=u+"TransitionTimingFunction";a[0].style[l]="translateX("+i+"px)";a[0].style[s]=this.options.effect.slide.speed+"ms";return a.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){a[0].style[l]="";a[0].style[s]="";a.children(":eq("+o+")").css({left:0});a.children(":eq("+r+")").css({display:"none",left:0,zIndex:0});e.data(h,"current",o);e.data(h,"animating",!1);a.unbind("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd");a.children(":not(:eq("+o+"))").css({display:"none",left:0,zIndex:0});h.data.touch&&h._setuptouch();return h.options.callback.complete(o+1)})}return a.stop().animate({left:i},this.options.effect.slide.speed,function(){a.css({left:0});a.children(":eq("+o+")").css({left:0});return a.children(":eq("+r+")").css({display:"none",left:0,zIndex:0},e.data(h,"current",o),e.data(h,"animating",!1),h.options.callback.complete(o+1))})}};r.prototype._fade=function(t){var n,r,i,s,o,u=this;n=e(this.element);this.data=e.data(this);if(!this.data.animating&&t!==this.data.current+1){e.data(this,"animating",!0);r=this.data.current;if(t){t-=1;o=t>r?1:-1;i=t}else{o=this.data.direction==="next"?1:-1;i=r+o}i===-1&&(i=this.data.total-1);i===this.data.total&&(i=0);this._setActive(i);s=e(".slidesjs-control",n);s.children(":eq("+i+")").css({display:"none",left:0,zIndex:10});this.options.callback.start(r+1);if(this.options.effect.fade.crossfade){s.children(":eq("+this.data.current+")").stop().fadeOut(this.options.effect.fade.speed);return s.children(":eq("+i+")").stop().fadeIn(this.options.effect.fade.speed,function(){s.children(":eq("+i+")").css({zIndex:0});e.data(u,"animating",!1);e.data(u,"current",i);return u.options.callback.complete(i+1)})}return s.children(":eq("+r+")").stop().fadeOut(this.options.effect.fade.speed,function(){s.children(":eq("+i+")").stop().fadeIn(u.options.effect.fade.speed,function(){return s.children(":eq("+i+")").css({zIndex:10})});e.data(u,"animating",!1);e.data(u,"current",i);return u.options.callback.complete(i+1)})}};r.prototype._getVendorPrefix=function(){var e,t,r,i,s;e=n.body||n.documentElement;r=e.style;i="transition";s=["Moz","Webkit","Khtml","O","ms"];i=i.charAt(0).toUpperCase()+i.substr(1);t=0;while(t<s.length){if(typeof r[s[t]+i]=="string")return s[t];t++}return!1};return e.fn[s]=function(t){return this.each(function(){if(!e.data(this,"plugin_"+s))return e.data(this,"plugin_"+s,new r(this,t))})}})(jQuery,window,document)}).call(this);
skin/frontend/base/default/responsiveslider/js/jquery_003.js CHANGED
@@ -1 +1 @@
1
- (function(a){a.flexslider=function(b,c){var d=a(b),e=a.extend({},a.flexslider.defaults,c),f=e.namespace,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,h=g?"touchend":"click",i="vertical"===e.direction,j=e.reverse,k=e.itemWidth>0,l="fade"===e.animation,m=""!==e.asNavFor,n={};a.data(b,"flexslider",d),n={init:function(){d.animating=!1,d.currentSlide=e.startAt,d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=e.selector.substr(0,e.selector.search(" ")),d.slides=a(e.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(e.sync).length>0,"slide"===e.animation&&(e.animation="swing"),d.prop=i?"top":"marginLeft",d.args={},d.manualPause=!1,d.transitions=!e.video&&!l&&e.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),""!==e.controlsContainer&&(d.controlsContainer=a(e.controlsContainer).length>0&&a(e.controlsContainer)),""!==e.manualControls&&(d.manualControls=a(e.manualControls).length>0&&a(e.manualControls)),e.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),m&&n.asNav.setup(),d.setup("init"),e.controlNav&&n.controlNav.setup(),e.directionNav&&n.directionNav.setup(),e.keyboard&&(1===a(d.containerSelector).length||e.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b?d.getTarget("prev"):!1;d.flexAnimate(c,e.pauseOnAction)}}),e.mousewheel&&d.bind("mousewheel",function(a,b){a.preventDefault();var g=0>b?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(g,e.pauseOnAction)}),e.pausePlay&&n.pausePlay.setup(),e.slideshow&&(e.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.play()}),e.initDelay>0?setTimeout(d.play,e.initDelay):d.play()),g&&e.touch&&n.touch(),(!l||l&&e.smoothHeight)&&a(window).bind("resize focus",n.resize),setTimeout(function(){e.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(f+"active-slide").eq(d.currentItem).addClass(f+"active-slide"),d.slides.click(function(b){b.preventDefault();var c=a(this),f=c.index();a(e.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=f>d.currentItem?"next":"prev",d.flexAnimate(f,e.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){d.manualControls?n.controlNav.setupManual():n.controlNav.setupPaging()},setupPaging:function(){var i,b="thumbnails"===e.controlNav?"control-thumbs":"control-paging",c=1;if(d.controlNavScaffold=a('<ol class="'+f+"control-nav "+f+b+'"></ol>'),d.pagingCount>1)for(var j=0;d.pagingCount>j;j++)i="thumbnails"===e.controlNav?'<img src="'+d.slides.eq(j).attr("data-thumb")+'"/>':"<a>"+c+"</a>",d.controlNavScaffold.append("<li>"+i+"</li>"),c++;d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),n.controlNav.set(),n.controlNav.active(),d.controlNavScaffold.delegate("a, img",h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNavScaffold.delegate("a","click touchstart",function(a){a.preventDefault()})},setupManual:function(){d.controlNav=d.manualControls,n.controlNav.active(),d.controlNav.live(h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){var b="thumbnails"===e.controlNav?"img":"a";d.controlNav=a("."+f+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(f+"active").eq(d.animatingTo).addClass(f+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a("<li><a>"+d.count+"</a></li>")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),n.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):n.controlNav.active()}},directionNav:{setup:function(){var b=a('<ul class="'+f+'direction-nav"><li><a class="'+f+'prev" href="#">'+e.prevText+'</a></li><li><a class="'+f+'next" href="#">'+e.nextText+"</a></li></ul>");d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+f+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+f+"direction-nav li a",d)),n.directionNav.update(),d.directionNav.bind(h,function(b){b.preventDefault();var c=a(this).hasClass(f+"next")?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(c,e.pauseOnAction)}),g&&d.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var a=f+"disabled";1===d.pagingCount?d.directionNav.addClass(a):e.animationLoop?d.directionNav.removeClass(a):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+f+"prev").addClass(a):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+f+"next").addClass(a):d.directionNav.removeClass(a)}},pausePlay:{setup:function(){var b=a('<div class="'+f+'pauseplay"><a></a></div>');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+f+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+f+"pauseplay a",d)),n.pausePlay.update(e.slideshow?f+"pause":f+"play"),d.pausePlay.bind(h,function(b){b.preventDefault(),a(this).hasClass(f+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())}),g&&d.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(a){"play"===a?d.pausePlay.removeClass(f+"pause").addClass(f+"play").text(e.playText):d.pausePlay.removeClass(f+"play").addClass(f+"pause").text(e.pauseText)}},touch:function(){function o(h){d.animating?h.preventDefault():1===h.touches.length&&(d.pause(),g=i?d.h:d.w,m=Number(new Date),f=k&&j&&d.animatingTo===d.last?0:k&&j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:k&&d.currentSlide===d.last?d.limit:k?(d.itemW+e.itemMargin)*d.move*d.currentSlide:j?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g,a=i?h.touches[0].pageY:h.touches[0].pageX,c=i?h.touches[0].pageX:h.touches[0].pageY,b.addEventListener("touchmove",p,!1),b.addEventListener("touchend",q,!1))}function p(b){h=i?a-b.touches[0].pageY:a-b.touches[0].pageX,n=i?Math.abs(h)<Math.abs(b.touches[0].pageX-c):Math.abs(h)<Math.abs(b.touches[0].pageY-c),(!n||Number(new Date)-m>500)&&(b.preventDefault(),!l&&d.transitions&&(e.animationLoop||(h/=0===d.currentSlide&&0>h||d.currentSlide===d.last&&h>0?Math.abs(h)/g+2:1),d.setProps(f+h,"setTouch")))}function q(){if(b.removeEventListener("touchmove",p,!1),d.animatingTo===d.currentSlide&&!n&&null!==h){var k=j?-h:h,o=k>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(o)&&(550>Number(new Date)-m&&Math.abs(k)>50||Math.abs(k)>g/2)?d.flexAnimate(o,e.pauseOnAction):l||d.flexAnimate(d.currentSlide,e.pauseOnAction,!0)}b.removeEventListener("touchend",q,!1),a=null,c=null,h=null,f=null}var a,c,f,g,h,m,n=!1;b.addEventListener("touchstart",o,!1)},resize:function(){!d.animating&&d.is(":visible")&&(k||d.doMath(),l?n.smoothHeight():k?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):i?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(e.smoothHeight&&n.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!i||l){var b=l?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(e.sync).data("flexslider"),f=d.animatingTo;switch(b){case"animate":c.flexAnimate(f,e.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}}},d.flexAnimate=function(b,c,h,o,p){if(m&&1===d.pagingCount&&(d.direction=b>d.currentItem?"next":"prev"),!d.animating&&(d.canAdvance(b,p)||h)&&d.is(":visible")){if(m&&o){var q=a(e.asNavFor).data("flexslider");if(d.atEnd=0===b||b===d.count-1,q.flexAnimate(b,!0,!1,!0,p),d.direction=b>d.currentItem?"next":"prev",q.direction=d.direction,Math.ceil((b+1)/d.visible)-1===d.currentSlide||0===b)return d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),!1;d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),b=Math.floor(b/d.visible)}if(d.animating=!0,d.animatingTo=b,e.before(d),c&&d.pause(),d.syncExists&&!p&&n.sync("animate"),e.controlNav&&n.controlNav.active(),k||d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),d.atEnd=0===b||b===d.last,e.directionNav&&n.directionNav.update(),b===d.last&&(e.end(d),e.animationLoop||d.pause()),l)g?(d.slides.eq(d.currentSlide).css({opacity:0,zIndex:1}),d.slides.eq(b).css({opacity:1,zIndex:2}),d.slides.unbind("webkitTransitionEnd transitionend"),d.slides.eq(d.currentSlide).bind("webkitTransitionEnd transitionend",function(){e.after(d)}),d.animating=!1,d.currentSlide=d.animatingTo):(d.slides.eq(d.currentSlide).fadeOut(e.animationSpeed,e.easing),d.slides.eq(b).fadeIn(e.animationSpeed,e.easing,d.wrapup));else{var s,t,u,r=i?d.slides.filter(":first").height():d.computedW;k?(s=e.itemWidth>d.w?2*e.itemMargin:e.itemMargin,u=(d.itemW+s)*d.move*d.animatingTo,t=u>d.limit&&1!==d.visible?d.limit:u):t=0===d.currentSlide&&b===d.count-1&&e.animationLoop&&"next"!==d.direction?j?(d.count+d.cloneOffset)*r:0:d.currentSlide===d.last&&0===b&&e.animationLoop&&"prev"!==d.direction?j?0:(d.count+1)*r:j?(d.count-1-b+d.cloneOffset)*r:(b+d.cloneOffset)*r,d.setProps(t,"",e.animationSpeed),d.transitions?(e.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){d.wrapup(r)})):d.container.animate(d.args,e.animationSpeed,e.easing,function(){d.wrapup(r)})}e.smoothHeight&&n.smoothHeight(e.animationSpeed)}},d.setOpts=function(a){for(var b in a)e[b]=a[b];d.setup()},d.getOpts=function(){return e},d.wrapup=function(a){l||k||(0===d.currentSlide&&d.animatingTo===d.last&&e.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&e.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,e.after(d)},d.animateSlides=function(){d.animating||d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.playing=!1,e.pausePlay&&n.pausePlay.update("play"),d.syncExists&&n.sync("pause")},d.play=function(){d.animatedSlides=setInterval(d.animateSlides,e.slideshowSpeed),d.playing=!0,e.pausePlay&&n.pausePlay.update("pause"),d.syncExists&&n.sync("play")},d.canAdvance=function(a,b){var c=m?d.pagingCount-1:d.last;return b?!0:m&&d.currentItem===d.count-1&&0===a&&"prev"===d.direction?!0:m&&0===d.currentItem&&a===d.pagingCount-1&&"next"!==d.direction?!1:a!==d.currentSlide||m?e.animationLoop?!0:d.atEnd&&0===d.currentSlide&&a===c&&"next"!==d.direction?!1:d.atEnd&&d.currentSlide===c&&0===a&&"next"===d.direction?!1:!0:!1},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var f=function(){var c=a?a:(d.itemW+e.itemMargin)*d.move*d.animatingTo,f=function(){if(k)return"setTouch"===b?a:j&&d.animatingTo===d.last?0:j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return j?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return j?a:a;case"jumpEnd":return j?a:d.count*a;case"jumpStart":return j?d.count*a:a;default:return a}}();return-1*f+"px"}();d.transitions&&(f=i?"translate3d(0,"+f+",0)":"translate3d("+f+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c)),d.args[d.prop]=f,(d.transitions||void 0===c)&&d.container.css(d.args)},d.setup=function(b){if(l)d.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(g?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+e.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):d.slides.eq(d.currentSlide).fadeIn(e.animationSpeed,e.easing)),e.smoothHeight&&n.smoothHeight();else{var c,h;"init"===b&&(d.viewport=a('<div class="'+f+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,j&&(h=a.makeArray(d.slides).reverse(),d.slides=a(h),d.container.empty().append(d.slides))),e.animationLoop&&!k&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),d.container.append(d.slides.first().clone().addClass("clone")).prepend(d.slides.last().clone().addClass("clone"))),d.newSlides=a(e.selector,d),c=j?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,i&&!k?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,"float":"left",display:"block"}),e.smoothHeight&&n.smoothHeight()},"init"===b?100:0))}k||d.slides.removeClass(f+"active-slide").eq(d.currentSlide).addClass(f+"active-slide")},d.doMath=function(){var a=d.slides.first(),b=e.itemMargin,c=e.minItems,f=e.maxItems;d.w=d.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),k?(d.itemT=e.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=f?f*d.itemT:d.w,d.itemW=d.minW>d.w?(d.w-b*c)/c:d.maxW<d.w?(d.w-b*f)/f:e.itemWidth>d.w?d.w:e.itemWidth,d.visible=Math.floor(d.w/(d.itemW+b)),d.move=e.move>0&&e.move<d.visible?e.move:d.visible,d.pagingCount=Math.ceil((d.count-d.visible)/d.move+1),d.last=d.pagingCount-1,d.limit=1===d.pagingCount?0:e.itemWidth>d.w?(d.itemW+2*b)*d.count-d.w-b:(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),k||(d.currentSlide>a?d.currentSlide+=1:d.currentSlide>=a&&0!==a&&(d.currentSlide-=1),d.animatingTo=d.currentSlide),e.controlNav&&!d.manualControls&&("add"===b&&!k||d.pagingCount>d.controlNav.length?n.controlNav.update("add"):("remove"===b&&!k||d.pagingCount<d.controlNav.length)&&(k&&d.currentSlide>d.last&&(d.currentSlide-=1,d.animatingTo-=1),n.controlNav.update("remove",d.last))),e.directionNav&&n.directionNav.update()},d.addSlide=function(b,c){var f=a(b);d.count+=1,d.last=d.count-1,i&&j?void 0!==c?d.slides.eq(d.count-c).after(f):d.container.prepend(f):void 0!==c?d.slides.eq(c).before(f):d.container.append(f),d.update(c,"add"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():i&&j?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.removed(d)},n.init()},a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0==c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}})(jQuery);
1
+ (function(a){a.flexslider=function(b,c){var d=a(b),e=a.extend({},a.flexslider.defaults,c),f=e.namespace,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,h=g?"touchend":"click",i="vertical"===e.direction,j=e.reverse,k=e.itemWidth>0,l="fade"===e.animation,m=""!==e.asNavFor,n={};a.data(b,"flexslider",d),n={init:function(){d.animating=!1,d.currentSlide=e.startAt,d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=e.selector.substr(0,e.selector.search(" ")),d.slides=a(e.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(e.sync).length>0,"slide"===e.animation&&(e.animation="swing"),d.prop=i?"top":"marginLeft",d.args={},d.manualPause=!1,d.transitions=!e.video&&!l&&e.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),""!==e.controlsContainer&&(d.controlsContainer=a(e.controlsContainer).length>0&&a(e.controlsContainer)),""!==e.manualControls&&(d.manualControls=a(e.manualControls).length>0&&a(e.manualControls)),e.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),m&&n.asNav.setup(),d.setup("init"),e.controlNav&&n.controlNav.setup(),e.directionNav&&n.directionNav.setup(),e.keyboard&&(1===a(d.containerSelector).length||e.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b?d.getTarget("prev"):!1;d.flexAnimate(c,e.pauseOnAction)}}),e.mousewheel&&d.bind("mousewheel",function(a,b){a.preventDefault();var g=0>b?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(g,e.pauseOnAction)}),e.pausePlay&&n.pausePlay.setup(),e.slideshow&&(e.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.play()}),e.initDelay>0?setTimeout(d.play,e.initDelay):d.play()),g&&e.touch&&n.touch(),(!l||l&&e.smoothHeight)&&a(window).bind("resize focus",n.resize),setTimeout(function(){e.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(f+"active-slide").eq(d.currentItem).addClass(f+"active-slide"),d.slides.click(function(b){b.preventDefault();var c=a(this),f=c.index();a(e.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=f>d.currentItem?"next":"prev",d.flexAnimate(f,e.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){d.manualControls?n.controlNav.setupManual():n.controlNav.setupPaging()},setupPaging:function(){var i,b="thumbnails"===e.controlNav?"control-thumbs":"control-paging",c=1;if(d.controlNavScaffold=a('<ol class="'+f+"control-nav "+f+b+'"></ol>'),d.pagingCount>1)for(var j=0;d.pagingCount>j;j++)i="thumbnails"===e.controlNav?'<img src="'+d.slides.eq(j).attr("data-thumb")+'"/>':"<a>"+c+"</a>",d.controlNavScaffold.append("<li>"+i+"</li>"),c++;d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),n.controlNav.set(),n.controlNav.active(),d.controlNavScaffold.delegate("a, img",h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNavScaffold.delegate("a","click touchstart",function(a){a.preventDefault()})},setupManual:function(){d.controlNav=d.manualControls,n.controlNav.active(),d.controlNav.live(h,function(b){b.preventDefault();var c=a(this),g=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=g>d.currentSlide?"next":"prev",d.flexAnimate(g,e.pauseOnAction))}),g&&d.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){var b="thumbnails"===e.controlNav?"img":"a";d.controlNav=a("."+f+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(f+"active").eq(d.animatingTo).addClass(f+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a("<li><a>"+d.count+"</a></li>")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),n.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):n.controlNav.active()}},directionNav:{setup:function(){var b=a('<ul class="'+f+'direction-nav"><li><a class="'+f+'prev" href="#">'+e.prevText+'</a></li><li><a class="'+f+'next" href="#">'+e.nextText+"</a></li></ul>");d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+f+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+f+"direction-nav li a",d)),n.directionNav.update(),d.directionNav.bind(h,function(b){b.preventDefault();var c=a(this).hasClass(f+"next")?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(c,e.pauseOnAction)}),g&&d.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var a=f+"disabled";1===d.pagingCount?d.directionNav.addClass(a):e.animationLoop?d.directionNav.removeClass(a):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+f+"prev").addClass(a):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+f+"next").addClass(a):d.directionNav.removeClass(a)}},pausePlay:{setup:function(){var b=a('<div class="'+f+'pauseplay"><a></a></div>');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+f+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+f+"pauseplay a",d)),n.pausePlay.update(e.slideshow?f+"pause":f+"play"),d.pausePlay.bind(h,function(b){b.preventDefault(),a(this).hasClass(f+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())}),g&&d.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(a){"play"===a?d.pausePlay.removeClass(f+"pause").addClass(f+"play").text(e.playText):d.pausePlay.removeClass(f+"play").addClass(f+"pause").text(e.pauseText)}},touch:function(){function o(h){d.animating?h.preventDefault():1===h.touches.length&&(d.pause(),g=i?d.h:d.w,m=Number(new Date),f=k&&j&&d.animatingTo===d.last?0:k&&j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:k&&d.currentSlide===d.last?d.limit:k?(d.itemW+e.itemMargin)*d.move*d.currentSlide:j?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g,a=i?h.touches[0].pageY:h.touches[0].pageX,c=i?h.touches[0].pageX:h.touches[0].pageY,b.addEventListener("touchmove",p,!1),b.addEventListener("touchend",q,!1))}function p(b){h=i?a-b.touches[0].pageY:a-b.touches[0].pageX,n=i?Math.abs(h)<Math.abs(b.touches[0].pageX-c):Math.abs(h)<Math.abs(b.touches[0].pageY-c),(!n||Number(new Date)-m>500)&&(b.preventDefault(),!l&&d.transitions&&(e.animationLoop||(h/=0===d.currentSlide&&0>h||d.currentSlide===d.last&&h>0?Math.abs(h)/g+2:1),d.setProps(f+h,"setTouch")))}function q(){if(b.removeEventListener("touchmove",p,!1),d.animatingTo===d.currentSlide&&!n&&null!==h){var k=j?-h:h,o=k>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(o)&&(550>Number(new Date)-m&&Math.abs(k)>50||Math.abs(k)>g/2)?d.flexAnimate(o,e.pauseOnAction):l||d.flexAnimate(d.currentSlide,e.pauseOnAction,!0)}b.removeEventListener("touchend",q,!1),a=null,c=null,h=null,f=null}var a,c,f,g,h,m,n=!1;b.addEventListener("touchstart",o,!1)},resize:function(){!d.animating&&d.is(":visible")&&(k||d.doMath(),l?n.smoothHeight():k?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):i?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(e.smoothHeight&&n.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!i||l){var b=l?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(e.sync).data("flexslider"),f=d.animatingTo;switch(b){case"animate":c.flexAnimate(f,e.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}}},d.flexAnimate=function(b,c,h,o,p){if(m&&1===d.pagingCount&&(d.direction=b>d.currentItem?"next":"prev"),!d.animating&&(d.canAdvance(b,p)||h)&&d.is(":visible")){if(m&&o){var q=a(e.asNavFor).data("flexslider");if(d.atEnd=0===b||b===d.count-1,q.flexAnimate(b,!0,!1,!0,p),d.direction=b>d.currentItem?"next":"prev",q.direction=d.direction,Math.ceil((b+1)/d.visible)-1===d.currentSlide||0===b)return d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),!1;d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),b=Math.floor(b/d.visible)}if(d.animating=!0,d.animatingTo=b,e.before(d),c&&d.pause(),d.syncExists&&!p&&n.sync("animate"),e.controlNav&&n.controlNav.active(),k||d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),d.atEnd=0===b||b===d.last,e.directionNav&&n.directionNav.update(),b===d.last&&(e.end(d),e.animationLoop||d.pause()),l)g?(d.slides.eq(d.currentSlide).css({opacity:0,zIndex:1}),d.slides.eq(b).css({opacity:1,zIndex:2}),d.slides.unbind("webkitTransitionEnd transitionend"),d.slides.eq(d.currentSlide).bind("webkitTransitionEnd transitionend",function(){e.after(d)}),d.animating=!1,d.currentSlide=d.animatingTo):(d.slides.eq(d.currentSlide).fadeOut(e.animationSpeed,e.easing),d.slides.eq(b).fadeIn(e.animationSpeed,e.easing,d.wrapup));else{var s,t,u,r=i?d.slides.filter(":first").height():d.computedW;k?(s=e.itemWidth>d.w?2*e.itemMargin:e.itemMargin,u=(d.itemW+s)*d.move*d.animatingTo,t=u>d.limit&&1!==d.visible?d.limit:u):t=0===d.currentSlide&&b===d.count-1&&e.animationLoop&&"next"!==d.direction?j?(d.count+d.cloneOffset)*r:0:d.currentSlide===d.last&&0===b&&e.animationLoop&&"prev"!==d.direction?j?0:(d.count+1)*r:j?(d.count-1-b+d.cloneOffset)*r:(b+d.cloneOffset)*r,d.setProps(t,"",e.animationSpeed),d.transitions?(e.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){d.wrapup(r)})):d.container.animate(d.args,e.animationSpeed,e.easing,function(){d.wrapup(r)})}e.smoothHeight&&n.smoothHeight(e.animationSpeed)}},d.setOpts=function(a){for(var b in a)e[b]=a[b];d.setup()},d.getOpts=function(){return e},d.wrapup=function(a){l||k||(0===d.currentSlide&&d.animatingTo===d.last&&e.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&e.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,e.after(d)},d.animateSlides=function(){d.animating||d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.playing=!1,e.pausePlay&&n.pausePlay.update("play"),d.syncExists&&n.sync("pause")},d.play=function(){d.animatedSlides=setInterval(d.animateSlides,e.slideshowSpeed),d.playing=!0,e.pausePlay&&n.pausePlay.update("pause"),d.syncExists&&n.sync("play")},d.canAdvance=function(a,b){var c=m?d.pagingCount-1:d.last;return b?!0:m&&d.currentItem===d.count-1&&0===a&&"prev"===d.direction?!0:m&&0===d.currentItem&&a===d.pagingCount-1&&"next"!==d.direction?!1:a!==d.currentSlide||m?e.animationLoop?!0:d.atEnd&&0===d.currentSlide&&a===c&&"next"!==d.direction?!1:d.atEnd&&d.currentSlide===c&&0===a&&"next"===d.direction?!1:!0:!1},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var f=function(){var c=a?a:(d.itemW+e.itemMargin)*d.move*d.animatingTo,f=function(){if(k)return"setTouch"===b?a:j&&d.animatingTo===d.last?0:j?d.limit-(d.itemW+e.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return j?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return j?a:a;case"jumpEnd":return j?a:d.count*a;case"jumpStart":return j?d.count*a:a;default:return a}}();return-1*f+"px"}();d.transitions&&(f=i?"translate3d(0,"+f+",0)":"translate3d("+f+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c)),d.args[d.prop]=f,(d.transitions||void 0===c)&&d.container.css(d.args)},d.setup=function(b){if(l)d.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(g?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+e.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):d.slides.eq(d.currentSlide).fadeIn(e.animationSpeed,e.easing)),e.smoothHeight&&n.smoothHeight();else{var c,h;"init"===b&&(d.viewport=a('<div class="'+f+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,j&&(h=a.makeArray(d.slides).reverse(),d.slides=a(h),d.container.empty().append(d.slides))),e.animationLoop&&!k&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),d.container.append(d.slides.first().clone().addClass("clone")).prepend(d.slides.last().clone().addClass("clone"))),d.newSlides=a(e.selector,d),c=j?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,i&&!k?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,"float":"left",display:"block"}),e.smoothHeight&&n.smoothHeight()},"init"===b?100:0))}k||d.slides.removeClass(f+"active-slide").eq(d.currentSlide).addClass(f+"active-slide")},d.doMath=function(){var a=d.slides.first(),b=e.itemMargin,c=e.minItems,f=e.maxItems;d.w=d.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),k?(d.itemT=e.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=f?f*d.itemT:d.w,d.itemW=d.minW>d.w?(d.w-b*c)/c:d.maxW<d.w?(d.w-b*f)/f:e.itemWidth>d.w?d.w:e.itemWidth,d.visible=Math.floor(d.w/(d.itemW+b)),d.move=e.move>0&&e.move<d.visible?e.move:d.visible,d.pagingCount=Math.ceil((d.count-d.visible)/d.move+1),d.last=d.pagingCount-1,d.limit=1===d.pagingCount?0:e.itemWidth>d.w?(d.itemW+2*b)*d.count-d.w-b:(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),k||(d.currentSlide>a?d.currentSlide+=1:d.currentSlide>=a&&0!==a&&(d.currentSlide-=1),d.animatingTo=d.currentSlide),e.controlNav&&!d.manualControls&&("add"===b&&!k||d.pagingCount>d.controlNav.length?n.controlNav.update("add"):("remove"===b&&!k||d.pagingCount<d.controlNav.length)&&(k&&d.currentSlide>d.last&&(d.currentSlide-=1,d.animatingTo-=1),n.controlNav.update("remove",d.last))),e.directionNav&&n.directionNav.update()},d.addSlide=function(b,c){var f=a(b);d.count+=1,d.last=d.count-1,i&&j?void 0!==c?d.slides.eq(d.count-c).after(f):d.container.prepend(f):void 0!==c?d.slides.eq(c).before(f):d.container.append(f),d.update(c,"add"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():i&&j?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(e.selector+":not(.clone)",d),d.setup(),e.removed(d)},n.init()},a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0==c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}})(jQuery);