var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282649&x=42',
		'title': '',
		'imageId': '67282649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282651&x=42',
		'title': '',
		'imageId': '67282651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282652&x=42',
		'title': '',
		'imageId': '67282652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282653&x=42',
		'title': '',
		'imageId': '67282653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282654&x=42',
		'title': '',
		'imageId': '67282654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282655&x=42',
		'title': '',
		'imageId': '67282655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282657&x=42',
		'title': '',
		'imageId': '67282657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282658&x=42',
		'title': '',
		'imageId': '67282658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282656&x=42',
		'title': '',
		'imageId': '67282656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961106&docid=67282650&x=42',
		'title': '',
		'imageId': '67282650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961106';

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