var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834712&x=165',
		'title': '',
		'imageId': '69834712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834707&x=165',
		'title': '',
		'imageId': '69834707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834715&x=165',
		'title': '',
		'imageId': '69834715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834695&x=165',
		'title': '',
		'imageId': '69834695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834697&x=165',
		'title': '',
		'imageId': '69834697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834694&x=165',
		'title': '',
		'imageId': '69834694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834708&x=165',
		'title': '',
		'imageId': '69834708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834698&x=165',
		'title': '',
		'imageId': '69834698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834696&x=165',
		'title': '',
		'imageId': '69834696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834700&x=165',
		'title': '',
		'imageId': '69834700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834709&x=165',
		'title': '',
		'imageId': '69834709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834713&x=165',
		'title': '',
		'imageId': '69834713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834699&x=165',
		'title': '',
		'imageId': '69834699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834705&x=165',
		'title': '',
		'imageId': '69834705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834703&x=165',
		'title': '',
		'imageId': '69834703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834711&x=165',
		'title': '',
		'imageId': '69834711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834702&x=165',
		'title': '',
		'imageId': '69834702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834710&x=165',
		'title': '',
		'imageId': '69834710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834704&x=165',
		'title': '',
		'imageId': '69834704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834701&x=165',
		'title': '',
		'imageId': '69834701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834716&x=165',
		'title': '',
		'imageId': '69834716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834714&x=165',
		'title': '',
		'imageId': '69834714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004901&docid=69834706&x=165',
		'title': '',
		'imageId': '69834706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004901';

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";
	})
}
