var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835959&x=247',
		'title': '',
		'imageId': '69835959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835967&x=247',
		'title': '',
		'imageId': '69835967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835960&x=247',
		'title': '',
		'imageId': '69835960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835961&x=247',
		'title': '',
		'imageId': '69835961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835958&x=247',
		'title': '',
		'imageId': '69835958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835969&x=247',
		'title': '',
		'imageId': '69835969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835968&x=247',
		'title': '',
		'imageId': '69835968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835964&x=247',
		'title': '',
		'imageId': '69835964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835962&x=247',
		'title': '',
		'imageId': '69835962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835966&x=247',
		'title': '',
		'imageId': '69835966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835965&x=247',
		'title': '',
		'imageId': '69835965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004931&docid=69835963&x=247',
		'title': '',
		'imageId': '69835963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004931';

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