var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393520&x=720',
		'title': '',
		'imageId': '68393520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393504&x=720',
		'title': '',
		'imageId': '68393504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393519&x=720',
		'title': '',
		'imageId': '68393519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393518&x=720',
		'title': '',
		'imageId': '68393518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393521&x=720',
		'title': '',
		'imageId': '68393521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393517&x=720',
		'title': '',
		'imageId': '68393517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393503&x=720',
		'title': '',
		'imageId': '68393503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393507&x=720',
		'title': '',
		'imageId': '68393507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393509&x=720',
		'title': '',
		'imageId': '68393509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393508&x=720',
		'title': '',
		'imageId': '68393508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393505&x=720',
		'title': '',
		'imageId': '68393505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393513&x=720',
		'title': '',
		'imageId': '68393513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393506&x=720',
		'title': '',
		'imageId': '68393506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393511&x=720',
		'title': '',
		'imageId': '68393511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393510&x=720',
		'title': '',
		'imageId': '68393510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393514&x=720',
		'title': '',
		'imageId': '68393514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393512&x=720',
		'title': '',
		'imageId': '68393512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393524&x=720',
		'title': '',
		'imageId': '68393524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393516&x=720',
		'title': '',
		'imageId': '68393516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393523&x=720',
		'title': '',
		'imageId': '68393523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393522&x=720',
		'title': '',
		'imageId': '68393522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941243&docid=68393515&x=720',
		'title': '',
		'imageId': '68393515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941243';

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