var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594444&x=246',
		'title': '',
		'imageId': '61594444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594445&x=246',
		'title': '',
		'imageId': '61594445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594446&x=246',
		'title': '',
		'imageId': '61594446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594447&x=246',
		'title': '',
		'imageId': '61594447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594448&x=246',
		'title': '',
		'imageId': '61594448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594449&x=246',
		'title': '',
		'imageId': '61594449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594450&x=246',
		'title': '',
		'imageId': '61594450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594451&x=246',
		'title': '',
		'imageId': '61594451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594452&x=246',
		'title': '',
		'imageId': '61594452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594453&x=246',
		'title': '',
		'imageId': '61594453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594454&x=246',
		'title': '',
		'imageId': '61594454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594455&x=246',
		'title': '',
		'imageId': '61594455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594456&x=246',
		'title': '',
		'imageId': '61594456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594457&x=246',
		'title': '',
		'imageId': '61594457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594458&x=246',
		'title': '',
		'imageId': '61594458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594459&x=246',
		'title': '',
		'imageId': '61594459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594460&x=246',
		'title': '',
		'imageId': '61594460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594461&x=246',
		'title': '',
		'imageId': '61594461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594462&x=246',
		'title': '',
		'imageId': '61594462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594463&x=246',
		'title': '',
		'imageId': '61594463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594464&x=246',
		'title': '',
		'imageId': '61594464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594465&x=246',
		'title': '',
		'imageId': '61594465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594466&x=246',
		'title': '',
		'imageId': '61594466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594467&x=246',
		'title': '',
		'imageId': '61594467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594468&x=246',
		'title': '',
		'imageId': '61594468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594469&x=246',
		'title': '',
		'imageId': '61594469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947830&docid=61594470&x=246',
		'title': '',
		'imageId': '61594470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947830';

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