var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181752&x=311',
		'title': '',
		'imageId': '70181752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181753&x=311',
		'title': '',
		'imageId': '70181753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181769&x=311',
		'title': '',
		'imageId': '70181769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181756&x=311',
		'title': '',
		'imageId': '70181756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181759&x=311',
		'title': '',
		'imageId': '70181759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181771&x=311',
		'title': '',
		'imageId': '70181771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181755&x=311',
		'title': '',
		'imageId': '70181755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181767&x=311',
		'title': '',
		'imageId': '70181767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181770&x=311',
		'title': '',
		'imageId': '70181770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181761&x=311',
		'title': '',
		'imageId': '70181761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181765&x=311',
		'title': '',
		'imageId': '70181765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181757&x=311',
		'title': '',
		'imageId': '70181757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181768&x=311',
		'title': '',
		'imageId': '70181768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181758&x=311',
		'title': '',
		'imageId': '70181758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181764&x=311',
		'title': '',
		'imageId': '70181764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181754&x=311',
		'title': '',
		'imageId': '70181754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181766&x=311',
		'title': '',
		'imageId': '70181766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181751&x=311',
		'title': '',
		'imageId': '70181751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181762&x=311',
		'title': '',
		'imageId': '70181762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181760&x=311',
		'title': '',
		'imageId': '70181760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181763&x=311',
		'title': '',
		'imageId': '70181763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018082&docid=70181772&x=311',
		'title': '',
		'imageId': '70181772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018082';

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