var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425466&x=43',
		'title': '',
		'imageId': '67425466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425463&x=43',
		'title': '',
		'imageId': '67425463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425468&x=43',
		'title': '',
		'imageId': '67425468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425467&x=43',
		'title': '',
		'imageId': '67425467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425465&x=43',
		'title': '',
		'imageId': '67425465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425471&x=43',
		'title': '',
		'imageId': '67425471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425470&x=43',
		'title': '',
		'imageId': '67425470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425461&x=43',
		'title': '',
		'imageId': '67425461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425462&x=43',
		'title': '',
		'imageId': '67425462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425464&x=43',
		'title': '',
		'imageId': '67425464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900999&docid=67425469&x=43',
		'title': '',
		'imageId': '67425469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900999';

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