var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241414&x=3452',
		'title': '',
		'imageId': '68241414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241405&x=3452',
		'title': '',
		'imageId': '68241405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241410&x=3452',
		'title': '',
		'imageId': '68241410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241404&x=3452',
		'title': '',
		'imageId': '68241404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241411&x=3452',
		'title': '',
		'imageId': '68241411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241413&x=3452',
		'title': '',
		'imageId': '68241413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241408&x=3452',
		'title': '',
		'imageId': '68241408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241406&x=3452',
		'title': '',
		'imageId': '68241406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241407&x=3452',
		'title': '',
		'imageId': '68241407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241412&x=3452',
		'title': '',
		'imageId': '68241412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934642&docid=68241409&x=3452',
		'title': '',
		'imageId': '68241409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934642';

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