var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125961&x=483',
		'title': '',
		'imageId': '68125961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125964&x=483',
		'title': '',
		'imageId': '68125964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125967&x=483',
		'title': '',
		'imageId': '68125967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125970&x=483',
		'title': '',
		'imageId': '68125970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125973&x=483',
		'title': '',
		'imageId': '68125973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125976&x=483',
		'title': '',
		'imageId': '68125976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125979&x=483',
		'title': '',
		'imageId': '68125979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125982&x=483',
		'title': '',
		'imageId': '68125982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125988&x=483',
		'title': '',
		'imageId': '68125988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125991&x=483',
		'title': '',
		'imageId': '68125991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929897&docid=68125994&x=483',
		'title': '',
		'imageId': '68125994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929897';

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