var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205157&x=721',
		'title': '',
		'imageId': '67205157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205152&x=721',
		'title': '',
		'imageId': '67205152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205083&x=721',
		'title': '',
		'imageId': '67205083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205155&x=721',
		'title': '',
		'imageId': '67205155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205158&x=721',
		'title': '',
		'imageId': '67205158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205175&x=721',
		'title': '',
		'imageId': '67205175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205174&x=721',
		'title': '',
		'imageId': '67205174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205173&x=721',
		'title': '',
		'imageId': '67205173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205154&x=721',
		'title': '',
		'imageId': '67205154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205084&x=721',
		'title': '',
		'imageId': '67205084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205082&x=721',
		'title': '',
		'imageId': '67205082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205087&x=721',
		'title': '',
		'imageId': '67205087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205086&x=721',
		'title': '',
		'imageId': '67205086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205085&x=721',
		'title': '',
		'imageId': '67205085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205110&x=721',
		'title': '',
		'imageId': '67205110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205116&x=721',
		'title': '',
		'imageId': '67205116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205113&x=721',
		'title': '',
		'imageId': '67205113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205115&x=721',
		'title': '',
		'imageId': '67205115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205111&x=721',
		'title': '',
		'imageId': '67205111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205114&x=721',
		'title': '',
		'imageId': '67205114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205112&x=721',
		'title': '',
		'imageId': '67205112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205153&x=721',
		'title': '',
		'imageId': '67205153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911915&docid=67205156&x=721',
		'title': '',
		'imageId': '67205156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911915';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
