var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626937&x=522',
		'title': '',
		'imageId': '68626937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626942&x=522',
		'title': '',
		'imageId': '68626942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626955&x=522',
		'title': '',
		'imageId': '68626955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626952&x=522',
		'title': '',
		'imageId': '68626952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626951&x=522',
		'title': '',
		'imageId': '68626951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626946&x=522',
		'title': '',
		'imageId': '68626946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626957&x=522',
		'title': '',
		'imageId': '68626957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626956&x=522',
		'title': '',
		'imageId': '68626956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626954&x=522',
		'title': '',
		'imageId': '68626954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626939&x=522',
		'title': '',
		'imageId': '68626939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626938&x=522',
		'title': '',
		'imageId': '68626938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626950&x=522',
		'title': '',
		'imageId': '68626950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626949&x=522',
		'title': '',
		'imageId': '68626949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626958&x=522',
		'title': '',
		'imageId': '68626958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626948&x=522',
		'title': '',
		'imageId': '68626948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626945&x=522',
		'title': '',
		'imageId': '68626945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626944&x=522',
		'title': '',
		'imageId': '68626944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626943&x=522',
		'title': '',
		'imageId': '68626943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626947&x=522',
		'title': '',
		'imageId': '68626947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626953&x=522',
		'title': '',
		'imageId': '68626953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626959&x=522',
		'title': '',
		'imageId': '68626959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626941&x=522',
		'title': '',
		'imageId': '68626941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951119&docid=68626940&x=522',
		'title': '',
		'imageId': '68626940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951119';

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