var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246061&x=2950',
		'title': '',
		'imageId': '68246061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246062&x=2950',
		'title': '',
		'imageId': '68246062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246063&x=2950',
		'title': '',
		'imageId': '68246063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246064&x=2950',
		'title': '',
		'imageId': '68246064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246065&x=2950',
		'title': '',
		'imageId': '68246065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246066&x=2950',
		'title': '',
		'imageId': '68246066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246067&x=2950',
		'title': '',
		'imageId': '68246067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246068&x=2950',
		'title': '',
		'imageId': '68246068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246069&x=2950',
		'title': '',
		'imageId': '68246069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934922&docid=68246070&x=2950',
		'title': '',
		'imageId': '68246070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934922';

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